Sync JSON stuff with fastJSON v2.0.16

- bug fix formatter

Now we can safely use the included beautifier
Beautifier in fastJSON is no longer broken
JSON code cleanup