Format flags and fields line-by-line in traits