private List<String> getDagIdsByApplicationId(URL dagIdsUrl) throws IOException, AuthenticationException {
      List<String> dagIds = new ArrayList<String>();
      JsonNode nodes = ThreadContextMR2.readJsonNode(dagIdsUrl).get("entities");

      for (JsonNode node : nodes) {
        String dagId = node.get("entity").getTextValue();
        dagIds.add(dagId);
      }

      return dagIds;
    }
JSONFactory class provides functionality to parse mined job data from timeline server.
app/com/linkedin/drelephant/tez/fetchers/TezFetcher.java