Remove syntax errors from README example

Set JSON example syntax to JS
Merge pull request #14 from MattiSG/patch-2

Remove syntax errors from README example