The collection of resources is available as dps.resources (hierarchically) and as dps.rows (flat structure, in the order as displayed).
You can go through dps.rows array and check dps.rows[i].Value (which is the resource ID). The inner HTML is available as dps.rows[i].InnerHTML. But please remember that this is not documented and it might change in the future (although it's not likely).
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.