code: public static Properties format(Config config) {
          Properties properties = new Properties();
          writeConfig("", config, properties);
          return properties;
      }
docs: Format a config into a properties instance.
  
  @param config The config to put into the properties instance.
  @return The properties instance.