Use modifyResponse method in middleware