Update JSON.cs

this is untested, but a regular expression should get the job done.