Mongodb adapter for lotus model