def internal_filter(path, parent, children):
  """Skip any object with "internal" in the name."""
  del path
  del parent
  children = [
      (name, value) for (name, value) in children if "internal" not in name
  ]
  return children