Changing data structure of keys in localforage