convert set to list when json serializing