Update isSafeJSONString calls to use full namespace