Add code for deleting objects in CouchDB backend