Fix dump course structure when element metadata uses opaque keys.

AN-3821
SlashSeparatedCourseKey would have worked, but would generate a warning.  The "correct" call these days is to use CourseKey.from_string() which checks all its implementations to decide which to use.