allow for escaped " chars
bugfix: expanded vars were being saved in the XML file