code: def to_dict(self):
          
          return {
              "assessment_id": self.id.hex,
              "type": self.question_type,
              "files": [f.to_dict() for f in filter(lambda x: x and x.filename, self.files)],
              "question": self.question,
              "hints": json.dumps(self.hints, ensure_ascii=False),
              "answers": json.dumps(self.answers, ensure_ascii=False),
              "raw_data": self.raw_data,
              "source_url": self.source_url,
              "randomize": self.randomize,
          }
docs: to_dict: puts data in format CC expects
              Args: None
              Returns: dict of node's data