FixCommand - stop corrupting xml/json format
bug #837 FixCommand - stop corrupting xml/json format (keradus)

This PR was submitted for the master branch but it was merged into the 1.x branch instead (closes #837).

Discussion
----------

FixCommand - stop corrupting xml/json format

Fixes #826

Ref #839

Commits
-------

00e09b8 FixCommand - stop corrupting xml/json format