code: def dump(self):
          
          import tempfile
  
          with tempfile.NamedTemporaryFile(delete=False, mode="w") as fobj:
              json.dump(self.info, fobj)
              return fobj.name
docs: Save analytics report to a temporary file.
  
          Returns:
              str: path to the temporary file that contains the analytics report.