pretty print json / xml