Utility routines format_text Formats packet data for display in the detail pane