Retrieving actions and categories into a map