Issue #1603 add nojsonglobal bool option

I have added a new bool option 'nojsonglobal' which if turned on delete JSON from predefined in the assume function.