Example CRDT-like implementation backed with CouchDB