ensure YAML is loaded

Required for Ruby 4.1.0