Refactor
Refactor DefaultMapper.toMongoObjet to avoid getting keys for types that are not references - fixes issue #51