code: def _construct_jbor(job_id, field_name_and_maybe_index):
      '''
      :param job_id: Job ID
      :type job_id: string
      :param field_name_and_maybe_index: Field name, plus possibly ".N" where N is an array index
      :type field_name_and_maybe_index: string
      :returns: dict of JBOR
      '''
      link = {"$dnanexus_link": {"job": job_id}}
      if '.' in field_name_and_maybe_index:
          split_by_dot = field_name_and_maybe_index.rsplit('.', 1)
          link["$dnanexus_link"]["field"] = split_by_dot[0]
          link["$dnanexus_link"]["index"] = int(split_by_dot[1])
      else:
          link["$dnanexus_link"]["field"] = field_name_and_maybe_index
      return linf _construct_jbor(job_id, field_name_and_maybe_index):
      '''
      :param job_id: Job ID
      :type job_id: string
      :param field_name_and_maybe_index: Field name, plus possibly ".N" where N is an array index
      :type field_name_and_maybe_index: string
      :returns: dict of JBOR
      '''
      link = {"$dnanexus_link": {"job": job_id}}
      if '.' in field_name_and_maybe_index:
          split_by_dot = field_name_and_maybe_index.rsplit('.', 1)
          link["$dnanexus_link"]["field"] = split_by_dot[0]
          link["$dnanexus_link"]["index"] = int(split_by_dot[1])
      else:
          link["$dnanexus_link"]["field"] = field_name_and_maybe_index
      return link
docs: :param job_id: Job ID
      :type job_id: string
      :param field_name_and_maybe_index: Field name, plus possibly ".N" where N is an array index
      :type field_name_and_maybe_index: string
      :returns: dict of JBOR