Refactor message-from-request to destructure