toJson

Deprecated

The raw per-peer stats this serializes are no longer part of the SendStats payload. Nothing in the SDK calls it; it will be removed in the next major version.