added JSON output by using the --out json