rework ConnectionProfileHelper to allow for use in MigrationPlugin