MongoDB API layer for CouchDB