public static List<Map<String, Object>> populateSettingList(
          Collection<? extends BlueprintSettingEntity> settings) throws NoSuchResourceException {
    List<Map<String, Object>> listSettings = new ArrayList<>();

    if (settings != null) {
      for (BlueprintSettingEntity setting : settings) {
        List<Map<String, String>> propertiesList = jsonSerializer.<List<Map<String, String>>>fromJson(
                setting.getSettingData(), List.class);
        Map<String, Object> settingMap = new HashMap<>();
        settingMap.put(setting.getSettingName(), propertiesList);
        listSettings.add(settingMap);
      }
    }

    return listSettings;
  }
Populate a list of setting property maps from a collection of setting entities.

@param settings  collection of setting entities

@return list of setting property maps
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintResourceProvider.java