minor change in giantswitch/ jsonclass