Add to_string() method for flag struct. Should replace with core::fmt::show()