@Nullable
  private static Node getTopArrayNode(@NotNull Document document) {
    NodeList arrayNodes = document.getElementsByTagName("array");
    for (int i = 0; i < arrayNodes.getLength(); i ++) {
      Node child = arrayNodes.item(i);
      Node parent = child.getParentNode();
      if (parent != null && parent.getNodeType() == Node.ELEMENT_NODE && "plist".equals(parent.getNodeName())) {
        return child;
      }
    }
    return null;
  }
@Nullable
  private static Node getTopArrayNode(@NotNull Document document)