docs: @Override
      public void toJSONString(JSONStringer stringer) throws JSONException
      {
          super.toJSONString(stringer);
  
          stringer.key("partitionRanges").object();
  
          for (PartitionRanges partitionRange : partitionRanges) {
              stringer.key(Integer.toString(partitionRange.partitionId)).object();
  
              for (Map.Entry<Integer, Integer> rangeEntry : partitionRange.ranges.entrySet()) {
                  stringer.key(rangeEntry.getKey().toString()).value(rangeEntry.getValue());
              }
  
              stringer.endObject();
          }
  
          stringer.endObject();
      }