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
  from redis import Redis, exceptions
  from redis.commands.json.decoders import decode_list, unstring
  from redis.commands.json.path import Path
  from .conftest import _get_client, assert_resp_response, skip_ifmodversion_lt
label_desc: Use image node_id 41 for calling a global function with example usage: load_types_data(nested_key_name) and returns: jdata,  types