Set IncludeCatID to True to include category IDs in the data that you export.
IncludeCatID
True
IncludeCatID=True