Store attributes in a HashMap instead of a Vec