[[ Bug 12556 ]] 'metadata' fields not exported to rtfText correctly.
Merge branch 'bugfix-12556' into release-6.6.3