Save undefined as null
Support for UTF8-encoded strings via Unicode module.