[PDI-11172] Fields not persisted in EE repo for MongoDB output step.

This commit fixes an issue with persisting tag set definitions to the EE repo.