I want to return a property of Type T passed to my generic function but I cannot find a way to accomplish it. I would like to do something like this (that would actually compile