json.count @orgs.total_count
json.orgs do
json.array! @orgs.each do |org|
json.extract! org, :id, :login, :nickname
end