Remove syntax errors from README example

Set JSON example syntax to JS