I understand why you have abstracted this data out into a variable and map data-structure. But it seems too complex for something that is only been used once within the application.