passing Request, input and output formats to controllers via context now