Format as a yaml