Make MetricsRegistry#getMetrics() return an unmodifiable map