adding back support for printing the flag field as a string when
outputting to SAM