I think the main issue is that JSON is capable of serializing JavaScript Objects, which are often much more complex than a simple hashmap.