A better way to store hashes in BSON.