gh-103000: Optimise dataclasses.asdict
for the common case
#104364
Merged
dataclasses.asdict
for the common case
#104364