code: def json_as_html(self):
          
  
          # To avoid circular import
          from cspreports import utils
  
          formatted_json = utils.format_report(self.json)
          return mark_safe("<pre>\n%s</pre>" % escape(formatted_json))
docs: Print out self.json in a nice way.