filter warnings in `toJson` to also filter output for --json flag
filter warnings in `toJson` to also filter output for --json flag

webpack/webpack,webpack/webpack,SimenB/webpack,ts-webpack/webpack,g0ddish/webpack,g0ddish/webpack,NekR/webpack,webpack/webpack,SimenB/webpack,ts-webpack/webpack,NekR/webpack,g0ddish/webpack,SimenB/webpack,EliteScientist/webpack,ts-webpack/webpack,webpack/webpack,EliteScientist/webpack,SimenB/webpack,ts-webpack/webpack