Added 'normalizeDataframe' method to common.js module to ensure that dataframes have consistent structure (properties are always arrays).

Updated reports that normalized dataframes to use the new common.normalizeDataframe call.