code: function transformSizes(requestSizes) {
    let sizes = [];
    let sizeObj = {};
  
    if (utils.isArray(requestSizes) && requestSizes.length === 2 &&
      !utils.isArray(requestSizes[0])) {
      sizeObj.width = parseInt(requestSizes[0], 10);
      sizeObj.height = parseInt(requestSizes[1], 10);
      sizes.push(sizeObj);
    } else if (typeof requestSizes === 'object') {
      for (let i = 0; i < requestSizes.length; i++) {
        let size = requestSizes[i];
        sizeObj = {};
        sizeObj.width = parseInt(size[0], 10);
        sizeObj.height = parseInt(size[1], 10);
        sizes.push(sizeObj);
      }
    }
  
    return sizes;
  }
docs: /* Turn bid request sizes into ut-compatible format