add some pretty-printing to the response