Remove unneccery items from YAML