FTYBR middleware to automatically add data to the response object