Add support to JSONReport.h to output json results to stdout when filesystem is not available.