Python Process Json String To Integer