Python Process Json String To Object Javascript Methods And Functions