Export in XML format corrections

- to UTF-8
- proper handling HTML entities for XML