A little bit more safety for yaml