OK, I need to neither escape or unescape; the DOM parser leaves the command in the form Easyfax needs.
Fine.
I'm changing the faxbot code to store available monsters by monsterId, rather than by name - and both Easyfax and OnlyFax tag all monsters by monsterId, so, cool.
You need do nothing...