Fixing typo in the first JSON example

Closes #7172