Ok but, just like the author of that article, you're just using the wrong datatype... You can easily get the desired behavior by quoting the strings:
- yaml:
- '01'
- '08'
Complaining about this is like complaining that { json: [01, 08] }
will be interpreted as [1, 8] in json... It's not a problem with the tool, it's a user error.