code: def _remove_non_serializable_store_entries(store: dict):
      
      removed_key_list = []
      for key, value in store.items():
          if not (_is_serializable(key) and _is_serializable(value)):
              _logger.info("Remove non-serializable item from the global script store. Key: '{}', Value: '{}'. "
                           "This item cannot be saved and therefore will be lost.".format(key, value))
              removed_key_list.append(key)
      for key in removed_key_list:
          del store[key]
docs: This function is called if there are non-serializable items in the global script storage.
      This function removes all such items.