Updates to HashArray. +getAll, +getAsArray, also fixing bug when an item has the same key represented twice.