spearmint: Improve storing collision type for adding new types

This should allow add more types without breaking backward compatibility API.