Fix bug in $.dumpObject when dumping an object with properties with null values