fix format for PouchDB file