Trim exceptions (depth 1), add tabs if header is used.