Sync JSON documents between Couchbase Server and mobile devices