Adapter for CouchDB