corrected smartjson