I'm probably in some huuuuuge trouble because I think this is completely impossible in C2...
I wrote a function that iterates over every terrain tile in my isometric map layout. I saved the terrain.type, terrain.zIndex, terrain.X and terrain.Y in an array and then downloaded it as JSON.
Wrote another function to load that JSON file back into the array and recreate/draw the terrain.
Now the very, very sad (for me) part...
Remember, this is an isometric layout: There is no way to re-set the original zIndexes on the terrain sprites!
I'm screwed right?