added pjson function that pretty-prints a json file