Incorrect xml parsing, should be json, for example.

fix bug 1205459

Change-Id: Ieaa4a9b9d01c923eafa7df6631d1a69f84cba6f8