don't serialize nil

I set the two tests that array type should return an empty array and
hash type should return an empty hash to "pending", with the thinking
that if you explicitly set something to nil, it should come back as nil.
kill tests
Merge pull request #4 from devmynd/nil-typecasting

don't serialize nil