Converted the XML node names back into STRING to get rid of the "Illegal offset type" error