code: def decode_input(text_in):
      
      
      if type(text_in) == list:
          text_out = u' '.join([t.decode('utf-8') for t in text_in])
      else:
          text_out = text_in.decode('utf-8')
      return text_out
docs: Decodes `text_in`
          If text_in is is a string, 
          then decode it as utf-8 string.
          If text_in is is a list of strings,
          then decode each string of it, 
          then combine them into one outpust string.