code: def _remove_non_serializable_store_entries(store: Store) -> dict:
          
          cleaned_store_data = {}
          for key, value in store.items():
              if Script._is_serializable(key) and Script._is_serializable(value):
                  cleaned_store_data[key] = value
              else:
                  _logger.info("Skip non-serializable item in the local script store. Key: '{}', Value: '{}'. "
                               "This item cannot be saved and therefore will be lost when autokey quits.".format(
                                  key, value
                  ))
          return cleaned_store_data
docs: Copy all serializable data into a new dict, and skip the rest.
          This makes sure to keep the items during runtime, even if the user edits and saves the script.