further refactoring to make Excel imports more generic (in cdm-app)