code: def pipeline_from_json(json_str: str):
      json_dict = json.loads(json_str)
      pipeline = Pipeline.from_serialized(json_dict)
  
      return pipeline
  
file_path: FEDOT/fedot/remote/run_pipeline.py
imports: import json
  import os
  import sys
  from typing import Union
  from golem.core.log import default_log
  from golem.utilities.random import RandomStateHandler
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.verification import verifier_for_task
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import TaskTypesEnum
  from fedot.remote.pipeline_run_config import PipelineRunConfig
label_desc: Use image node_id 5 for calling a global function with example usage: pipeline_from_json(json_str) and returns: pipeline