Python Create Escaped Json String