Fix outputFormatObj declaration (#3834)