implementation of MongoMappingParser with some tests