api.array :trackers do
  @trackers.each do |tracker|
    api.tracker do
      api.id tracker.id
      api.name tracker.name
      api.default_status(:id => tracker.default_status.id, :name => tracker.default_status.name) unless tracker.default_status.nil?
      api.description tracker.description
      api.array :enabled_standard_fields do
        tracker.core_fields.each do |field|
          api.field field
        end
      end
    end
  end
end
