Fix Autodiscover when Display Name has UTF8 chars

It fails to dump the result as the display name was already encoded.