@Override
    public JsonElement serialize(Size src, Type typeOfSrc, JsonSerializationContext context) {
      return new JsonPrimitive(src.get(Size.Unit.BYTE));
    }
Simplify representation of a {@link Size} instance by converting to bytes.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/RegionVisualizer.java