allow conversion of keys with nil values
Merge pull request #4 from spacechurro/key_present_check

allow conversion of keys with nil values