I am currently refactoring some Kotlin code - I have a nice solution to a simple refactor but unsure of how to do this within the Koltin syntax using maps. Any help would be