code: def decode_array(values):
      
      out = []
      for val in values:
          try:
              out.append(val.decode('utf8'))
          except AttributeError:
              out.append(val)
      return out
docs: Decode the values which are bytestrings.