Another way to handle it could be to have a Swarm or Mob template that can be tacked on top of any existing monsters easily, giving it different or complimentary HP, AC, Resistance and abilities. Here is a rough draft of what it could look like;
Swarm Template
AC +2 AC
Hit Points x5
Ability Score +5
Saving Throws +3
Reach +5
Attack +3
Damage x2
Skills perception +3, survival +3, intimidation +3
TRAITS
Deconcentrating: When a swarm damages a creature that is concentrating on a spell, it makes it saving throw with disadvantage to maintain concentration.
Damage Resistance: A swarm is resistant to bludgeoning, slashing and piercing damage
Double Action: At the start of combat, the swarm makes two initiative checks and takes a turn on each Initiative counts. The swarm has a full set of actions on each of these turns, and its ability to take an reaction or bonus action refreshes on each turn.
Fluid: A swarm can move into the space of creature of any size and end its turn there.
Shove: A swarm can use Knock Down against a target it hits as a bonus action.
Steady: Swarm cannot be knocked prone, grappled, or bull rushed.
Vulnerability: A swarm is vulnerable to area of effect spells or similar attacks hitting large area.
ACTIONS
Trample: The swarm target a point in space. Each creature within 5 feet of that point are subject to a knock down. Targets have disadvantage while the swarm has advantage on the check. If successful, the target is eighter knocked prone or pushed back 10 feet.
REACTION
Shake it off: The swarm automatically end one effect on it or succeed on a saving throw as a reaction.
ENCOUNTER BUILDING
Level +5 XP x5
A swarm is a collection of 4+ (up to thousands) tiny, small, medium or larger creatures that acts as a single creature. It has the same type, alignment, sense, language, speed and movement mode as the creature, while other characteristics changes. A swarm has a single pool of Hit Dice and hit points, a single initiative modifier, speed, and Armor Class and makes saving throws as a single creature. A swarm occupies spaces according to its size (large, huge or gargantua) and has a reach of 10 feet or more, depending on its size and the reach the creature has. Finally a swarm can squeeze through space large enough for a single creature of its kind to pass through.