fix extracting NextToken parameter from XML response