I have an issue with a code block in a method where I am using generic types. What I would like to do is convert some types generically. I run into issues when I am working