public Optional<String> getOverriddenHosts() {
    return properties == null
      ? Optional.empty()
      : Optional.ofNullable(properties.get(OVERRIDDEN_HOST_PROP));
  }
Return flat metric map without category
ambari-server/src/main/java/org/apache/ambari/server/state/stack/MetricDefinition.java