Is there a way to still have zombie villagers from zombie spawners?

Solution 1:

A spawner can choose between entities from an arbitrarily big set that you specify.

For example if you want 95% of entities from a spawner to be zombies and 5% to be zombie villagers, you can use this command:

/setblock ~ ~ ~ spawner{SpawnPotentials:[{Entity:{id:"zombie"},Weight:19},{Entity:{id:"zombie_villager"},Weight:1}]}

This isn't quite the same behaviour as it used to have in old versions, for example I'm pretty sure that it's slower, but you can adjust all the parameters you find here (archive) however you like.

(Omitting the Weight parameters gives 100% of the spawn probability to the first entity type.)