public static <T> T fromJson(String json, Class<T> clazz) throws IOException {
    ObjectMapper mapper = new ObjectMapper();
    mapper.configure(SerializationFeature.INDENT_OUTPUT, true);
    mapper.configure(MapperFeature.USE_ANNOTATIONS, true);
    InputStream is = new ByteArrayInputStream(json.getBytes(Charset.forName("UTF8")));
    return mapper.readValue(is, clazz);
  }
Even though this map is populated systematically, we still need this map
since components like Atlas Client that are missing from this map
and cleint components are handled differently
ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java