Ensure that a jid is a string