code: def unpack_worlds(items):
      
      # Unpack nested lists of samples grouped together (old IPython style)
      if isinstance(items[0], (list, tuple)) and len(items[0]) == 1:
          out = []
          for d in items:
              assert len(d) == 1 and isinstance(d[0], dict), len(d)
              out.append(d[0])
      # Unpack a single argument with multiple samples (CWL style)
      elif isinstance(items, (list, tuple)) and len(items) == 1 and isinstance(items[0], (list, tuple)):
          out = items[0]
      else:
          out = items
      return out
docs: Handle all the ways we can pass multiple samples for back-compatibility.