Try changing monster-spawn-max-light-level and zombie-villager-infection-chance in paper-world.yml to an integer/number make moster... as 7 and zombie villager.... as 80 and check if it works
also use latest viaversion(5.2.0 as of now)