Revert "ignore setting properties with null values (but still don't allow null keys)."

This reverts commit 4cafc50abc032e7534f1dd7e22ca7307ade3d665.