Implement typesafe generic member deserializer