code: def poly_to_string(poly):
      if len(poly.shape) > 1:
          poly = np.array(poly).flatten()
  
      string = "\t".join(str(i) for i in poly)
      return string
  
imports: import numpy
  import json
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: poly_to_string(poly) and returns: string