move message object conversion to facade