adding globals/gdeqarray; improving level-2 jsonizing