CIDEVSTC-302 - Adds escape handling for sensitive characters in XML

- Certain characters need to be properly escaped before going into
  datasets.xml