pretty printing the json retrieved for human readability fixes #1