I'm loading tile map data from a file into a dictionary object, so that I can load the data per dictionary key (as json) into each specific tile-map object (one per layer of scrolling)
So, if I could have kept track of the loop index of the fore each key loop that would have been very clean and simple.
The simplest solution is a variable to keep track of the loop index, which is a shame, but not the end of the world.