```ruby
if a.is_a?(Hash)
 # convert 
else
 # old behavior
end
```

Because we convert to string we may accept not only symbols.