Some files export without "preset_name" json index

I’ve noticed that a lot of my .vital files don’t contain the “preset_name” index and it’s causing a lot of problems with the current tool I’m trying to make. I’ve also noticed that all of the problem presets were made in earlier updates. Even when exporting a preset in 1.0.8 it will still export without “preset_name”.

Could there maybe be an option for checking if the index exists, and if it doesn’t, create it and set it to the file name?