docs: private KeyScope cascadeChildKeys(final KeyScope rootScope) {
          final Map<String, KeyDef> res = new HashMap<>(rootScope.keyDefinition);
          cascadeChildKeys(rootScope, res, "");
          return new KeyScope(rootScope.id, rootScope.name, res, new ArrayList<>(rootScope.childScopes));
      }