Print `nil` correctly as `null`

Lua automatically removes nil values from tables, and nil cannot be
the key of a table, so there still is not a way to get an explicit
`null` to print in a resulting JSON structure.  But now
`json_from(nil)` returns `null` instead of `nil`.