private static String toServiceId(String configId) {
        return "'" + configId.replace("/", ".") + "'";
    }
Format metrics as required by users of the "getMetricsById" rpc method.

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