Missing 'dataType' property when reading tag configuration

I have a script that will print out all tags for a given search path. Every now and then it will come across an Atomic tag on a udt type that has a missing ‘dataType’ parameter. The solution is to go to the UDT and change the data type to something else like Long and then back to Integer. This fixes the issue when the script is run again. I’m using 8.0.9. Is this expected behavior? If there is no ‘dataType’ property should i just assume it’s an integer?

Yes, configuration is only explicitly saved if it's different from the default values (to save space). For datatype in particular, that means integer.