only decode key if needed in json_report