@GET
  @Path("/inconsistent-regions")
  public List<HbckInconsistentRegions> getInconsistentRegions() {
    return hbckReport.getInconsistentRegions().entrySet().stream()
      .map(obj1 -> new HbckInconsistentRegions(obj1.getKey(),
        parseServerName(obj1.getValue().getFirst()), obj1.getValue().getSecond().stream()
          .map(this::parseServerName).collect(Collectors.toList())))
      .collect(Collectors.toList());
  }
The root object exposing hbck.jsp page as JSON Output.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/hbck/resource/HbckMetricsResource.java