Resolve undef into a string in permissive mode (issue #84)