finishedd formatting of data and ability to load data into indexeddb in correct format with indexes for searching