Store relational data in PouchDB/CouchDB (work in progress).