Correcting the YAML formatting for a list array