generic formatters for text and std packets