change default output of api command from json to tabwriter