T-SQL - An attempt to extract filter-, join- and output columns from query plan XML