wip #28: Introduce MongoEncoder / MongoDecoder