added query object for interacting with the bulk api export