fix string escap for XML