Load Json From String In Python Functions