def METHOD_NAME(self):
    return {
        "id": str(self.id),
        "text": self.text,
        "author": self.author.METHOD_NAME(),
        "reply_to_id": self.reply_to_id,
        "upvotes": self.upvotes,
        "created_at": self.created_at.isoformat(),
    }