added getMongoDBObject