Fix extra attributes with string keys