Avoid using YAML classes as they produce output that is not compatible across different versions of ruby