ETL
export function transform(old: {[key: string]: string[]}) {
let expected: {[key: string]: number} = {};
for(const [keys, values] of Object.entries(old)){
for(const elm of values){
expected[elm.toLowerCase()] = Number(keys);
}
}
return expected;
}