Add layout to front of YAML.