@GET
  @Path("/orphan-regions-on-rs")
  public List<HbckOrphanRegionsOnRS> getOrphanRegionsOnRS() {
    return hbckReport.getOrphanRegionsOnRS().entrySet().stream()
      .map(obj1 -> new HbckOrphanRegionsOnRS(obj1.getKey(), parseServerName(obj1.getValue())))
      .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