Use XMLDict to convert XML string to dict