Added JSON extern and updated generator script to include this case as w...

...ell
What's wrong with the `$`?