Statically type OInfo....
Statically type OInfo.
In view of working with
#13860, some cleanup inspect to be properly
typed, and using stricter datastructure.
Instead of dict we now use dataclasses, this will make sure that fields
type and access can be stricter and verified not only at runtime, but by
mypy