don't encode the key `nil` as `null`

fixes #31