an object mapper for mongodb