Allow sets to be json serializable.