public static String convertStatsReportTypeToProperString(StatsReportType type) {
    StringBuilder sb = new StringBuilder();
    String[] reportTypeStrs = type.toString().split("_");
    for (int i = 0; i < reportTypeStrs.length - 1; ++i) {
      sb.append(toProperCase(reportTypeStrs[i]));
    }
    return sb.toString();
  }
Convert input stats report type to proper format (i.e PARTITION_CLASS_REPORT -> PartitionClass). That is:
1. remove underscores.
2. capitalize first letter and keep remaining letters lowercase.
@param type the stats report type.
@return converted string.
ambry-server/src/main/java/com/github/ambry/server/AmbryStatsReportImpl.java