changed JSON method of getting food list