[TASK] Removes redundant validation.

Also improves the storage handling of additionalAttributes.
If the given value is empty, even after trimming, it uses NULL as value.
The same as the origin value.