Fix for #1766

Allow to "clear" all nested properties by setting a null value.

@aheckmann very interested in your opinion ;-)