Just checked: `getparamdefault(Xyz[foo], param)`  ->  ref.class is `Puppet::Resource`. For types (`getparamdefault(Xyz, foo)`) we obviously get strings.