Correct the json example to the new function json()