code: def to_rec(samples, default_keys=None):
      
      recs = samples_to_records([normalize_missing(utils.to_single_data(x)) for x in samples], default_keys)
      return [[x] for x in recs]
docs: Convert inputs into CWL records, useful for single item parallelization.