adding food class, changed to json