Fix for initialization with strings keys.

It's possible to mix symbols and strings in the keys of the attribute hash.