code: def _expand_batch(cls, batch):
          
          cls._parse_header(BatchHeader, batch)
          if 'transactions' in batch:
              batch['transactions'] = [
                  cls._expand_transaction(t) for t in batch['transactions']]
          return batch
docs: Deserializes a Batch's header, and the header of its Transactions.