This ensures that keys in the Yaml file can be specified as either
symbols or strings, but will always be treated as symbols after loading.
It tries to use ActiveSupport's `deep_symbolize_keys!` method if
ActiveSupport is loaded, otherwise falling back to an inline version.
Closes#3672.