code: public static String toYAML(Map<String, ? extends CacheConfig> config) throws IOException {
          return new CacheConfigSupport().toYAML(config);
      }
docs: Convert current configuration to YAML format
  
  @param config map
  @return yaml string
  @throws IOException error