Refactoring log_parser into only gen_report (and each project that wants a report should have its own was of generating json input for gen_report.py)