only output validated json.