pretty print json bodies