CLOUD-252 invite -> json responses