json.array! @foods do |f|
json.extract! f, :ndbn, :kcal, :carbohydrates, :lipid, :protein
json.name f.long_description
end