Normalize collection hashes provided by clients as attribute values
before storing in the database.

closes #2088
refs #1881