Popup View, parameter, stored procedure

Here’s what I have now:

	params1 = {"itemId":event.value["ItemID"]}
	ds = system.db.runNamedQuery(getOnHandQty, params1)
	data = [ds.getValueAt(i,0 for i in range(ds.getRowCount())]
	params2 = {'data':data}
	
	system.perspective.openPopup("itemSignoutId",'itemSignout', params=params2, showCloseIcon = True, resizable = True)

I grabbed much of this off a thread I found, but I didn’t mark the thread…
This code should send a data set, as a JSON dictionary or object, right?
So how do I find the individual data within it on the popup view and feed those to the corresponding components?