JZ/PLD: refactor dict2xform to use str.format, closes #686
Merge pull request #743 from onaio/686-refactor-dict2xform

JZ/PLD: refactor dict2xform to use str.format