Avoid using the built-in ruby YAML libraries as they produce incompatible output across different ruby versions