XML fix

Added correct header for text/xml. And added utf-8 as character encoding