utf-8 compatible compression in python,json.dumps({'compressedData': base64.b64encode(zString)})