Cast message to string