The new invulnerable_time tag is not retained upon mob conversion, even though Invulnerable is.
To reproduce
/summon minecraft:villager ~ ~ ~ {NoAI:1b,Invulnerable:1b,invulnerable_time:9999}/summon minecraft:lightning_bolt/data get entity @n[type=witch] NoAI
✅ The tag was retained/data get entity @n[type=witch] Invulnerable
✅ The tag was retained/data get entity @n[type=witch] invulnerable_time
❌ The tag was not retained
Can confirm.