Removing some hidden fields from the YAML file