Get the storage values of an extension data type.
If the input does not have an extension data type, it is returned as-is.
Warning
This functionality is currently considered unstable. It may be
changed at any point without it being considered a breaking change.