Implement a proper implementation of ==.
Currently, it just compares the strings from dump(). This being said, dump() always produces a JSON string with all fields sorted.
Only JsonObject has an == implementation currently. JsonValue, JsonArray also need one.