code: def test_check_metadata(iris_dataset):
      check_res = ColumnsInfo(n_top_columns=4).run(iris_dataset)
      json_res = jsonpickle.loads(check_res.to_json())
      assert_that(
          json_res["value"],
          equal_to(
              {
                  "target": "label",
                  "sepal length (cm)": "numerical feature",
                  "sepal width (cm)": "numerical feature",
                  "petal length (cm)": "numerical feature",
                  "petal width (cm)": "numerical feature",
              }
          ),
      )
      assert_that(json_res["check"]["name"], equal_to("Columns Info"))
      assert_that(
          json_res["check"]["params"], equal_to({"n_top_columns": 4})
      )
  
file_path: deepchecks/tests/base/to_json_test.py
imports: import jsonpickle
  from hamcrest import assert_that, equal_to
  from deepchecks.core.suite import SuiteResult
  from deepchecks.tabular.checks import ColumnsInfo
  from deepchecks.tabular.suites import full_suite
label_desc: Use image node_id 3 for calling a global function with example usage: test_check_metadata(iris_dataset) without return types