json.total_count @rows.total_count
json.users @rows.each do |row|
  user = User.find_by_id(row[0])
  if user.blank?
    json.user nil
  else
    json.user do 
      json.partial! "api/v1/users/simple_user", user: user
    end
  end
  json.commit_count row[1]
  json.project_count row[2]
  json.issues_count row[3]
end