delete a global from predefined when added to blacklist.

#1603 turn off JSON when using predef:["-JSON"] or any other global put in with a negative in front.
Fix indentation. If any of this uses tabs, please convert to spaces