added a pretty print to the json output