json.extract! @ingredient, :id, :name, :ndbn, :density