Fixes an mysql-issue with the serialization/de-serialization of the
element-configuration.

Cause was a different handling of empty strings: mysql returns an empty
string for an uninitialized field, whereas postgres returns a nil - the
current handling deals with both values properly.