Change SparseArray to Hashmap to fix Serialization