How do i go about listing all the properties of a object?