Various minor corrections:
- resdir="." (this won't work properly below DaCHS 2.5.5, so only make this operational after upgrading at least there)
- subjects must be multiple elements (and ought to come from the UAT)
- adding some explicit type conversions in the var-s (I can't say how this could have worked before: vars never had a way to know what type to convert to...).