code: def unflatten(dictionary, sep="."):
      """Turn all keys with format {key}{sep}{subkey} into nested dictionaries"""
      unflattened_dictionary = {}
      for key, value in dictionary.items():
          parts = key.split(sep)
          sub_dictionary = unflattened_dictionary
          for part in parts[:-1]:
              if part not in sub_dictionary:
                  sub_dictionary[part] = {}
              sub_dictionary = sub_dictionary[part]
          sub_dictionary[parts[-1]] = value
      return unflattened_dictionary
  
label_desc: Use image node_id 2 for calling a global function with example usage: unflatten(dictionary, sep) and returns: unflattened_dictionary