proc_parse: improve formatting