Save multiselect values in more generic hashmap