Clear values even on export (but don't write them)
Only encode scalar values