fixing some issues with cli step / json formatter feature on windows