private Map<String, ManifestService> buildManifest() {
    Map<String, ManifestService> normalized = new HashMap<>();

    for (ManifestService ms : manifestServices) {
      normalized.put(ms.serviceId, ms);
    }
    return normalized;
  }
@return the list of manifest services to a map for easier access.
ambari-server/src/main/java/org/apache/ambari/server/state/repository/VersionDefinitionXml.java