Please do not use `in` operator to test for property existance. `typeof carrierInfo[key] !== 'undefined'` is significantly faster.