Faster archiving by adding a map from strings to idices in the atoms vector.