public byte[] serialize(PropertyMap map) {
    return SerializationProxy.toBytes(map);
  }
Serializes a map as a byte array.
@param map the (nonnull) map to write
@return the byte array
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyStore.java