factor out JSON output;add prettyJSON for commandline use
factor out JSON output;add prettyJSON for commandline use

robertpenner/typescript-tools,clausreinke/typescript-tools,noteon/typescript-tools,clausreinke/typescript-tools,noteon/typescript-tools,i-e-b/typescript-tools,i-e-b/typescript-tools,robertpenner/typescript-tools,robertpenner/typescript-tools,noteon/typescript-tools