FIX: JSON parsing with a trailing back-quote in strings.

Also fix not detecting missing commas.
FIX: parsing HTTP corrupted cookies of the form "name=;"