fixup! Fix discussions by correctly serializing outgoing course_ids