Can this class be consolidated with ResourceReportCodec? They both seem to serialize a RR to Json...