Handle case when XML parser returns unicode text