code: def load_types_data(nested_key_name):
      td = {
          "object": {},
          "array": [],
          "string": "str",
          "integer": 42,
          "number": 1.2,
          "boolean": False,
          "null": None,
      }
      jdata = {}
      types = []
      for i, (k, v) in zip(range(1, len(td) + 1), iter(td.items())):
          jdata["nested" + str(i)] = {nested_key_name: v}
          types.append(k)
  
      return jdata, types
  
imports: import pytest
  import redis.asyncio
  from redis import exceptions
  from redis.commands.json.path import Path
  from tests.conftest import assert_resp_response, skip_ifmodversion_lt
label_desc: Use image node_id 1 for calling a global function with example usage: load_types_data(nested_key_name) and returns: jdata,  types