code: def to_dict(self):
          
          return {
              "title": self.title,
              "language" : self.language,
              "description": self.description,
              "node_id": self.get_node_id().hex,
              "content_id": self.get_content_id().hex,
              "source_domain": self.domain_ns.hex,
              "source_id": self.source_id,
              "author": self.author,
              "aggregator": self.aggregator,
              "provider": self.provider,
              "files" : [f.to_dict() for f in filter(lambda x: x and x.filename, self.files)], # Filter out failed downloads
              "tags": self.tags,
              "kind": self.kind,
              "license": self.license.license_id,
              "license_description": self.license.description,
              "copyright_holder": self.license.copyright_holder,
              "questions": [question.to_dict() for question in self.questions],
              "extra_fields": json.dumps(self.extra_fields),
              "role": self.role,
          }
docs: to_dict: puts data in format CC expects
              Args: None
              Returns: dict of channel data