Fixing array formatting in JSON example. Closes #7.