add ability to print json output as human-readable