Maybe: `All the keys of the attributes hash must be strings.`

Sounds better to you?