Change query() to return column labels.

This prevents queries such as SELECT foo AS bar FROM table; from returning an array like {foo: 1} and instead returning {bar: 1} as requested in the query.