code: def json_data(self):
          
          return {
              "type": self.type,
              "origin_id": self.origin_id,
              "network_id": self.network_id,
              "contents": self.contents,
          }
docs: The json representation of an info.