Escape text node values of metadata elements before upload to repository.