fix for issue with hashes with symbols for attrs on models