pretty print json doc file