getjson error management