Remove unused code from ext/json.

Saves 616 bytes binary size.