so, I found a way to get the types from my functio...
# kodein
v
so, I found a way to get the types from my function and pass to the objectMapper, seems messy given Generics