json.extract! @product_group, :id, :name, :created_at, :updated_at