Stack middlewares for working with HAL and vnd.error