Serialize ExportTasks as Objects instead of arrays, so empty ExportTasks are properly recognized. Fixes #37690