main
1json.id service.id
2json.name service.name
3json.environments service.environments.pluck(:id)