Proper improved panel xml edit functions?

I really would like to see an improvement on this section.
Create and modify xml and panels is pretty complicate and should be easier just with proper copying / import / merge functions.
Just take a look to all the things we need to do in order to get copy patch names from one xml file to another: