Write MSFS model behaviour to model XML
Instead of writing the FSX/P3D animation code to the model XML file, write the new MSFS style model behavior.
This thread contains information on how to translate between the two formats: https://www.fsdeveloper.com/forum/threads/heres-how-to-write-you-own-modelbehavior-code.451037/
For certain animation types default MSFS templates should be used instead. This should be an automatic mapping like when going from FS2004 to FSX names.