added returnGeometry parameter to Query task

linting fix