Report migration: top records data special handling. DQM data version checks. Some refactoring.