fix for older versions of qjson