private static String getNodeKey(String key) {
    int dotIndex = key.lastIndexOf('.');
    return (dotIndex >= 0 ? key.substring(dotIndex + 1) : key).toLowerCase(Locale.ENGLISH);
  }
private static String getNodeKey(String key)