simplified model BSON-serialization code by using macros provided by
reactive mongo.