code: def remove_internal_fields(_, publication):
      """This publisher removes fields from DefaultPublisher that are only useful internally"""
  
      publication.pop("staged", None)
      publication.pop("publishers", None)
      publication.pop("outputs", None)
  
      return publication
  
file_path: streamalert/publishers/community/generic.py
imports: from collections import deque, OrderedDict
  import re
  from streamalert.shared.publisher import Register, AlertPublisher
  from streamalert.shared.normalize import Normalizer
  from streamalert.shared.utils import get_keys
label_desc: Use image node_id 3 for calling a global function with example usage: remove_internal_fields(_, publication) and returns: publication