Fix for loading a serialized index

Fixes a bug where when loading a serialized index, the elements of the index.documentStore.store would be incorrectly loaded. See issue #18