Works for saving data to a local couchdb data source when calling a json request.