Map<String, dynamic> toJson() => { "errorReports": errorReports.map((x) => x).toList(), "warningReports": warningReports.map((x) => x).toList(), };