code: def test_trace_as_json_1():
      trace = _make_trace_1(BlockRV(), LoopRV(), LoopRV())
      obj = trace.as_json()
      assert obj == [
          [
              ["GetBlock", [], ["block", "main"], ["b0"]],
              ["GetLoops", ["b0"], [], ["l1", "l2"]],
          ],
          [],
      ]
  
imports: import sys
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.script import tir
  from tvm.tir.schedule import BlockRV, Instruction, InstructionKind, LoopRV, Trace
  from tvm.tir.schedule.testing import assert_structural_equal_ignore_global_symbol
label_desc: Use image node_id 19 for calling a global function with example usage: test_trace_as_json_1() without return types