revert json.loads() deletion