Reports migration: rework migrate script to be not require all reports to be held in memory before copying data