display the json response in the terminal