accept message as key-value string to pass as object