pretty print json bodies on success