scan info refactoring: from dict to class
Recent changes (!2691 (merged)) introduced a more elaborated way to fill the scan info dictionary for scans.
We should push this further, moving away from a simple dictionary to a class maybe in order to add methods for various operations on the scan info => refactoring of scan info.