Minimal mongodb adapter