Text "Path" to Actual Path

Hello - I’m pretty sure I’m overlooking something obvious, but I’m hoping to construct my own Path hierarchy that I can inherit from Rhino geometry. In short, I’m producing blocks in GH which are then being pushed into Rhino where a few very minor (but painful to perform in GH) adjustments are happening. I’m assigning Key/Values to those elements in the form of their previous path structures so that I can re-organize and continue working with in the same definition. Where I’m geting hung up is having those paths ( {0,0,0,0} through {6,2,2,5} ) be converted to actual paths that can sort my geometry. I’ve looked at the Replace Paths, Construct Path, Path Mapper and Match Tree but no useful results. At the moment I have a workaround (sorting the data by a modified string and then using a Match Tree with previous data), but there must be an intelligent, simple way to do this that I’m missing. Any assistance would be appreciated!
In the image below, my original block paths are shown in the bottom panel and the modified Rhino block paths are in the top panel:

I think this could be done by renumbering all branches and at the end replace paths.

If you can’t figure it out, please post a Grasshopper file with an example.