Basic pouchdb serialisation
PouchDB storage serialisation