[output] Add a minimal output option for the middleware