Save and Load objects from IndexedDB