code: def _serialize_feature(self, feature):
      name = feature.unique_name()
  
      if name not in self._features_dict:
          self._features_dict[
              feature.unique_name()
          ] = feature.to_dictionary()
  
          for dependency in feature.get_dependencies(deep=True):
              name = dependency.unique_name()
              if name not in self._features_dict:
                  self._features_dict[name] = dependency.to_dictionary()
  
file_path: featuretools/featuretools/feature_base/features_serializer.py
imports: import json
  from featuretools.primitives.utils import serialize_primitive
  from featuretools.utils.s3_utils import get_transport_params, use_smartopen_features
  from featuretools.utils.wrangle import _is_s3, _is_url
  from featuretools.version import FEATURES_SCHEMA_VERSION
  from featuretools.version import __version__
label_desc: Use image node_id 5 for calling the FeaturesSerializer obj's underlying member method code with example usage: obj._serialize_feature(feature) without return types