Exporting a map with the ArcGIS REST API and Python