improve formatting of cli output