Fix materializeIso macro to support case classes with parameterized type