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

...ell
Oh, I see now.