fix the notified alerts data structure to properly deserialize

note: The "easy fix" was using a hashmap which is less efficient than sparse array