refactor output format of "cluster list"