Allow int 0 as a key in objects

This fails right now due to an incorrect truthy check.
I'm not sure if also allowing an empty string would be a good idea.