Update JSON.cs

Here is a regular expression that has the same functionality but is simpler.