JSON encode/decode for SortedSet

`EncodeJson` & `DecodeJson` for sorted set types.