private static PListValue readArray(String key, XmlElement element) throws IOException {
    List<Object> result = new ArrayList<>();
    for (XmlElement child : element.children) {
      Object val = readValue(key, child);
      if (val != null) {
        result.add(val);
      }
    }
    return value(result, PlistValueType.ARRAY);
  }
private static PListValue readArray(String key, XmlElement element)