How to convert/migrate MIDI mapping from older versions?

Hey folks!
I have a rather complex and custom MIDI mapping created on version 5.1.7917.0.
Now, after an update, I’m trying to import the mapping and it isn’t working.
I realised the format changed, from something that used to look like JSON, to now XML 1.0.

What can be done besides having to manually remap hundreds of buttons?

For reference, this is my mapping that I made public for all A&H Xone:4D users:

Hi there,

Thanks for sharing your question!

I can confirm that nothing has changed internally with regard to MIDI mapping file formats.

Usually mapping files should be in an XML format, but djay is able to read mapping files in different formats described here.

We recommend restoring the file from a backup, or otherwise let us know what specifically “isn’t working”.