code: public Properties toProperties(String prefix) {
          Properties props = new Properties();
          populate(prefix + ".", props, this);
  
          props = convertValuesToString(props);
  
          return props;
      }
docs: Converts this ConfigObject ino the java.util.Properties format, flatten the tree and prefixing all entries with the given prefix
  
  @param prefix The prefix to append before property entries
  @return A java.util.Properties instance