Use a constructor function to create Set tables in HTML serializer