class GoalSerializer < ActiveModel::Serializer
  attributes :id, :amount, :period, :category_id, :category_name, :category_type,
             :month_amount
end

class GoalSerializer < ActiveModel::Serializer
  attributes :id, :amount, :period, :type, :category_id, :category_name, :category_type,
             :month_amount
end

Add type to goals json response.
Add type to goals json response.
