Generic type lists serialization