Added ability to produce human readable (indented) output