Gets this value as a composite Map of values of a given type.
Throws an exception if this value doesn't represent a Map of T.