Remove excess "header" keys from YAML