docstr: fields: list of field,
          field:
              name: column_name
              anonymous_name: anonymous_column_name
              dtype: data_type
              property: sample_id/match_id/label/weight/column
code: def serialize(self):
      """
      fields: list of field,
              field:
                  name: column_name
                  anonymous_name: anonymous_column_name
                  dtype: data_type
                  property: sample_id/match_id/label/weight/column
      """
      schema_serialization = self._schema.serialize()
  
      schema_serialization_with_type = []
      for field in schema_serialization["fields"]:
          field["dtype"] = self._type_mapping[field["name"]]
          schema_serialization_with_type.append(field)
  
      schema_serialization["fields"] = schema_serialization_with_type
      return schema_serialization
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 27 for calling the SchemaManager obj's underlying member method code with example usage: obj.serialize() and returns: schema_serialization