Fix dump course structure when element metadata uses opaque keys.

AN-3821
available...