pretty print json requests