Allow user defined replacements for VAL evaulations

Enables output from PMS to be changed in ways that the XML templates
can't