Parsing JSON to a hash is especially problematic in typed languages. Often they force you to create a class that maps from the JSON to a class. This is extremely tedious and wastes time. Also, if the JSON can change dynamically then you are screwed as it can't be mapped to a class anymore.
If you want type safety there are plenty of means to do this in a language that compiles to Javascript or some kind of linting step.
Please don't turn Javascript into Java.