Initialize ObjectStore from JSON string. Remove ObjectStore.fromJSON.