Change sanitised yaml output format to include explicit start and end