Querying a map service with the ArcGIS REST API and Python