allow messages to be list or binary