docs: public static Properties expand(final Map properties) {
          final Properties expandedProperties = new Properties();
          for (final Object o : properties.entrySet()) {
              final Map.Entry entry = (Map.Entry) o;
              final String key = (String) entry.getKey();
              final String keyValue = (String) entry.getValue();
              final String expandedKeyValue = expand(keyValue, properties);
              expandedProperties.setProperty(key, expandedKeyValue);
          }
  
          return expandedProperties;
      }