Add source_path and line to JSON output