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.

issue #3
@thegrubbsian