Deserializing derived types in lists