class ReportMapper {

    public static JsonArray reportsToJson(final @NotNull Collection<CheckReport> reports) {
        return reports.stream()
                .map(CheckReport::toJson)
                .collect(JsonCollectors.toJsonArray());
    }

    private  ReportMapper();

}