NXP-14149: replace usage of HashMap$Values by HashSet which is serializable