Fix typos in JSON example snippets