Sorry I misread your question at first. Still not sure what you are trying to solve. Does it specifically have to do with path mapping? Your data only has one path {0} though, so you are not actually mapping paths, but list indexes.
If you actually want to do path mapping I recommend you check out the Human plugin (https://www.food4rhino.com/app/human), which contains Tree Frog. Tree Frog’s sole purpose is to make path mapping a lot easier and once you start working with complicated trees is a life-saver.