Move JSON compatibility right along couchdb storage