fixing index creation from JSON file