coerce into a message from a hashref