The ReportBody interface of the Reporting API represents the body of a report.
ReportBody
MDN Reference
The toJSON() method of the ReportBody interface is a serializer, and returns a JSON representation of the ReportBody object.
toJSON()