code: def as_sql(self):
          
  
          labels, data = self._get_table()
          table = SqlTable(labels, data, "{:.3f}", "\n")
          return str(table)
docs: Gets report as json
  
          :return: json-formatted report