prep for returning csv content