[BUGFIX] Trim input into xml2array