I have a map where I have stored different struct types and I want to retrieve them to know what type of struct I have to do the unmashal. When the value of the key is direc