for user in users:
result = user[0].encode('utf-8')
for x in filter(lambda q: q is not None, user):
result += ', '
if type(x) in (str, unicode):
result += x.encode('utf-8')
else:
result += str(x)
print type(result), result
writer.writerow(result)
return response