[SATYR PATCH] sr_report_to_json: do not segfault on invalid reports