code: def rec_dict_to_numpy_dict(obj_dict):
      
      if type(obj_dict) == dict:
          return {key: rec_dict_to_numpy_dict(value) if value is not None else None for key, value in obj_dict.items()}
      elif obj_dict is None:
          return None
      else:
          return np.asarray(obj_dict)
docs: Same as dict_to_numpy_dict, but recursive