code: def init_backward_serialize_compat():
      # backward compatibility
      Serializer.register_coders(
          Objective, from_json=objective_from_json, overwrite=True
      )
  
imports: from typing import Any, Dict, Type, Tuple
  from golem.core.optimisers.objective import Objective
  from golem.serializers.serializer import Serializer
  from golem.serializers.any_serialization import any_from_json
  from fedot.core.optimisers.objective.metrics_objective import MetricsObjective
label_desc: Use image node_id 2 for calling a global function with example usage: init_backward_serialize_compat() without return types