Suggestion, make a different metadata name/value pair for each resource manager that could be present:
slurm_jobid: XXXXX
flux_jobid: YYYYYY
lsf_jobid: ZZZZZZ
We should give some thought to flux subjob metadata. Though it may not be critical if we don't capture that.