@siperwrx I think you will need some nodes and you might have to show more details about what could change and how.
Most likely you will have to identify blocks of data and then transpose them (or not depending on the type). Here is a somewhat similar example to illustrate.
This is an illustration how to deal with blocks of data that then could be handled in different ways
Best to provide more examples that would cover the cases that might occur. I might have a look at the data later.