Merge with_raw, with_stat and summary variables to output_format