added output in json format to support rundeck as a provider