code: def serialize(self):
          
  
          info = {}
          info['received_time'] = self.received_time
          info['encoded_report'] = bytes(self.encode())
  
          # Handle python 2 / python 3 differences
          report_format = info['encoded_report'][0]
          if not isinstance(report_format, int):
              report_format = ord(report_format)
          info['report_format'] = report_format  # Report format is the first byte of the encoded report
          info['origin'] = self.origin
  
          return info
docs: Turn this report into a dictionary that encodes all information including received timestamp