Fix string output in XMLMap