Btw. we can do the optimized representation only for String keys, i.e. not for compound keys and not for other simple types such as Long. That'd require a transformation of the key into a String and back which I don't think is nice (JSON only supports string keys). Let's better keep the existing representation in that case.
|