public Properties toProperties() {
    Properties props = new Properties();
    props.putAll(this);
    return props;
  }
A utility class that can convert a HashMap of Properties into a colon separated string,
and can take the same format of string and convert it to a HashMap of Properties.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/StringableMap.java