FTYBR middleware to automatically add data to the request object