You can use effect names with the effect command:/effect @p invisibility 10
(gives the player Invisibility for 10 seconds)
What is expected?:/summon Zombie ~ ~ ~ {NoAI:1,ActiveEffects:[{Id:invisibility,Amplifier:0,Duration:9999}]}
will spawn an invisible zombie.
What happens?:
A zombie with no status effects is spawned.
Workaround:
Use the ID of the effect instead:/summon Zombie ~ ~ ~ {NoAI:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:9999}]}
This is intended. For the time being, names can only be used in commands, and are just an alias for the effect numbers.