switching json outputter for ubuntu support