private static void convertProblems(@NotNull JsonWriter jsonWriter, @NotNull Element problems) throws IOException {
    jsonWriter.beginObject();
    jsonWriter.name(PROBLEMS);
    jsonWriter.beginArray();
    for (Element problem : problems.getChildren(PROBLEM)) {
      convertProblem(jsonWriter, problem);
    }
    jsonWriter.endArray();
    jsonWriter.endObject();
  }
private static void convertProblems(@NotNull JsonWriter jsonWriter, @NotNull Element problems)