Serialize Python sets to JSON lists.