json.load changed to json.loads for string