Change the persistent cannons list into a HashMap.