add columns from resource table to csv outputs