json.total_count @projects.total_count

json.projects @projects do |project|
  json.owner do 
    json.partial! "api/v1/users/simple_user", user: project.owner
  end
  json.partial! "api/v1/projects/simple_detail", project: project
end