Handle null and undefined keys

In ActionScript, using null or undefined as a key converts the value
to the string "null" or "undefined" respectively.