Cache field metadata, to avoid calling `dataclasses.fields` to get more than 10% performance improvement
dataclasses.fields