@Override
  protected DeclarableType fromNonNullConfigObject(AutoSerializer configObject) {
    Properties properties = new Properties();
    List<String> patterns = configObject.getPatterns();
    if (patterns != null && !patterns.isEmpty()) {
      properties.setProperty(PATTERNS_PROPERTY_NAME, StringUtils.join(patterns, ','));
    }
    if (configObject.isPortable()) {
      properties.setProperty(PORTABLE_PROPERTY_NAME, "true");
    }
    return new DeclarableType(AUTO_SERIALIZER_CLASS_NAME, properties);
  }
this converts between AutoSerializer and DeclarableType (xml domain object). Only string type
parameter in the DeclarableType will be converted.
geode-core/src/main/java/org/apache/geode/management/internal/configuration/converters/AutoSerializerConverter.java