private void findJsonElementsPath(JsonObject node, String[] propertyName,
      List<JsonElement> list) {

    for (Entry<String, JsonElement> entry : node.entrySet()) {
      if (entry.getKey().equals(propertyName[0])) {

        if (propertyName.length == 1) {
          list.add(entry.getValue());
        } else {
          JsonElement elem = entry.getValue();
          if (elem instanceof JsonObject) {
            findJsonElementsPath((JsonObject) elem,
                Arrays.copyOfRange(propertyName, 1, propertyName.length), list);
          }
        }
      }
    }
  }