if you need to add anything else that is not shown here you could use mcstacker

if you need to stacked mobs with linked hp:
Vehicle (At the very bottom) has MobStackVehicle tag, all passengers have MobStackPassenger. The highest passenger should be spawned with the name the lowest mob is supposed to have (The scute item is still in the vehicle though)