small correction in main JSON script