Correctly use Curl POST. Add type and prefix to json object in CouchDB create.