public Map<String, String> toMap() {
    return objectMapper.convertValue(this, new TypeReference<Map<String, String>>() {
    });
  }
@return a {@link HashMap} of metadata key-value pairs.
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudBlobMetadata.java