Refactor jid utils out of utils/__init__