Added a flag to alignment_to_string which toggles
between normal strings and hex strings