json.id collaborator.id.to_s + '-' + collaborator.type
json.name collaborator.name
json.type collaborator.type
json.project_id collaborator.project_id
json.role collaborator.role