private static String formatMetricName(String name) {
        name = name.replaceAll("\"", "");
        name = name.replaceAll("\\.", "_");
        return name;
    }
Format metrics as required by users of the "getMetricsById" rpc method.

@author Unknown
metrics-proxy/src/main/java/ai/vespa/metricsproxy/metric/MetricsFormatter.java