fixing an issue where single quotes are breaking xml serialization