aggregation: tune dump data scripts to get reference table values.