function createEnvelope(headers, items = []) {
  return [headers, items] ;
}
Add an item to an envelope.
Make sure to always explicitly provide the generic to this function
so that the envelope types resolve correctly.