code: def test_json_serialization(e) -> None:
      expected, actual = e, serde.load_json(serde.dump_json(e))
      assert equals(expected, actual)
  
file_path: gluonts/test/mx/test_mx_serde.py
imports: from typing import List
  import pytest
  import mxnet
  import numpy
  from gluonts.core import serde
  from gluonts.core.component import equals
  from gluonts.pydantic import BaseModel
label_desc: Use image node_id 1 for calling a global function with example usage: test_json_serialization(e) without return types