json.array!(@clients) do |client| json.extract! client, :id, :site_name, :site_token, :site_id json.url client_url(client, format: :json) end