hotfix to allow unsetting attributes by passing null (for obj, arr, bool, int, float they reset to their default values)