couchdb persistence engine for save