Convert JSON result into an immutable tree of ordinary Java objects (List, Map, String, Double, Integer, Boolean). We use sorted maps, so that the tree is deterministic.