code: def get_serializer(serializer_format):
      
      if serializer_format == Format.JSON:
          return _serialize_json
      if serializer_format == Format.PICKLE:
          return _serialize_pickle
docs: Get the serializer for a specific format