docs: function _visitSpecializations(entities, visitedEntities) {
    for (var entityName in entities) {
      if (!visitedEntities.hasOwnProperty(entityName)) {
        visitedEntities[entityName] = entities[entityName];
  
        _visitSpecializations(
          entities[entityName].directSpecializations,
          visitedEntities
        );
      }
    }
  }