CouchDB 1.2-1.3 support added