In JSON null is a separate concept from empty.  I should rename the flag to isnull.  But truth is I'm not sure that it will ever happen with a ptree... and element still exists but the value is null.