GTNWSRP-350: prefer export by value and only use export by reference when we have set an ExportPersistenceManager and don't prefer export by value.
(cherry-picked from f8a32cf)