Validate generated reports files
We shouldn't fail the job silently when the resulting file isn't valid json (empty file isn't valid json either).
This is the case for all security products jobs (
sast, ...). Following this idea in gitlab-org/gitlab-ee#5232, we should have a generic orchestrator, that will always validate the output file before ending the job.