code: def nice_report(self):
          
          if not self.json:
              return '[no CSP report data]'
          try:
              data = json.loads(self.json)
          except ValueError:
              return "Invalid CSP report: '{}'".format(self.json)
          if 'csp-report' not in data:
              return 'Invalid CSP report: ' + json.dumps(data, indent=4, sort_keys=True, separators=(',', ': '))
          return json.dumps(data['csp-report'], indent=4, sort_keys=True, separators=(',', ': '))
docs: Return a nicely formatted original report.