Allow deprecated CourseKeys to serialize with empty runs