add csv output for all resources.