Tentative workaround for keys with '.'

I'm working with some yaml files that have keys with them and shyaml doesn't work with them :)
I don't have any experience in python but maybe this workaround is enough?

Thanks in advance.