adjust for changes in "headers" field of query results
Merge pull request #177 from cbare/csv_table_queries

adjust for changes in "headers" field of query results