YAML generation compatible with Ruby 1.8 and AWS OpsWorks