Return hash from sanitize_attributes
Fix problems with sanitize_attributes! method