Fix reference to missing local variable
Support Virtus array coercion when transforming XML input