static @NotNull Map<String, String> readFields(@NotNull Element element) {
    Map<String, String> result = new HashMap<>();
    for (Element child : element.getChildren()) {
      if (child.getName().equals(Constants.OPTION)) {
        String fieldName = child.getAttributeValue(Constants.NAME);
        String fieldValue = child.getAttributeValue(Constants.VALUE);
        if (fieldName != null && fieldValue != null) {
          result.put(fieldName, fieldValue);
        }
      }
    }
    return result;
  }
static @NotNull Map<String, String> readFields(@NotNull Element element)