Adapter for mongo