function trimBid(bid) {
  if (!bid) return bid;
  const res = {};
  res.auctionId = bid.auctionId;
  res.bidder = bid.bidder;