hash to message context