Add code to write info.json output to stdout when option -output is used with a dash: -o -