added index to json