Change unsaved changes hash to use array