format output of dryrun_msg