This fixes and issue where XML output was not numerically eneocded, but entity encoded