I believe the way you tackle this problem is using scriptSet/scriptGet. That's how I pass variable between the iTest and TCL shells. This is the gateway command that passes information between these two interfaces. This is how I would tackle this problem.
If you set a = 1 in iTest a = 2 in tcl shell you will get 1 and 2 respectively if you do a puts in either shell.
Wrap your work into a QuickCall and you should be good. I think John had it figured out with the scriptSet but may have had some garbage in the path.
Also, if you want to clean up the output from a stored response use this command [response varName]. I use that method all the time because I can tell it's a variable from a stored response.
Hmmm... I still can't replicate the situation you're seeing, where you have what appears to be the full structured data of the response. I've run this on multiple machines, different versions of iTest and even different platforms. At this point, barring a webex, I'd take @gretztx's recommendation and strip out the first item of the list in the response.
52 People are following this question.