code: def test_token2json(self):
      expected_json = {
          "name": "John Doe",
          "age": "99",
          "city": "Atlanta",
          "state": "GA",
          "zip": "30301",
          "phone": "123-4567",
          "nicknames": [{"nickname": "Johnny"}, {"nickname": "JD"}],
      }
  
      sequence = (
          "<s_name>John Doe</s_name><s_age>99</s_age><s_city>Atlanta</s_city>"
          "<s_state>GA</s_state><s_zip>30301</s_zip><s_phone>123-4567</s_phone>"
          "<s_nicknames><s_nickname>Johnny</s_nickname>"
          "<sep/><s_nickname>JD</s_nickname></s_nicknames>"
      )
      actual_json = self.processor.token2json(sequence)
  
      self.assertDictEqual(actual_json, expected_json)
  
imports: import unittest
  from transformers import DonutProcessor
label_desc: Use image node_id 2 for calling the DonutProcessorTest obj's underlying member method code with example usage: obj.test_token2json() without return types