Collapse and expand header and payload

Collapse and expand header and payload