perf: Use cache when calling JID.new_as_bare()

2 jobs for master in 58 seconds (queued for 3 seconds)