`JSON.sh` uses the non-standard `egrep` command and also non-standard `gawk` to replace it if it is unavailable. You should use `grep -E` instead.
JSON.shuses the non-standardegrepcommand and also non-standardgawkto replace it if it is unavailable. You should usegrep -Einstead.