.hash now accepts optional :type and :of named parameters

So that we potentially can roundtrip .perl output, provided it can be
generated properly