code: def build_experiments_response(experiments: dict):
      """
      Build the response representing a list of experiments according to the API specification.
  
      Parameters
      ----------
      experiments: dict
          A dict containing pairs of ``experiment-name:experiment-version``.
  
      Returns
      -------
      A JSON-serializable list of experiments as defined in the API specification.
      """
      result = []
      for name, version in experiments.items():
          result.append({"name": name, "version": version})
      return result
  
file_path: orion/src/orion/serving/responses.py
imports: from typing import List
  from orion.benchmark import Benchmark
  from orion.core.worker.experiment import Experiment
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 3 for calling a global function with example usage: build_experiments_response(experiments) and returns: result