code: public Properties toProperties() {
          Properties props = new Properties();
          flatten(props);
  
          props = convertValuesToString(props);
  
          return props;
      }
docs: Converts this ConfigObject into a the java.util.Properties format, flattening the tree structure beforehand
  
  @return A java.util.Properties instance