JSON marshalling support for Set and SortedSet

Support JSON serialization of Set and SortedSet from Ruby standard library, in the style of your existing support for BigDecimal, Time, etc.
Allows the elements of a Set to be reconstructed.