refactor($parse): remove the support for JSON parsing mode

It's a feature that isn't exposed to the public, and is
no longer used internally.