pretty printing of response