use subclassed JSONEncoder to convert sets to lists (DynamoDB uses sets for "multi-value" properties)