JZ/PLD: refactor dict2xform to use str.format, closes #686