Convert User/Group to structs and remove the explicit (to/from)Bson methods.