Based on my above comment, we can assume all key access will be using a Symbol. As far as I know when a YAML file is parsed if you're using the format we provide all the keys will be strings, so something like this could work I think:

```ruby
result = @hash.fetch(key.to_s, *args)
```