CDAP-469 Endpoint to list all services

Let's rename this variable as result. It gets a json string or an empty string from the downstream function calls.