changes to retjson