[BUGFIX] Serialize value to allow NULL

A ``NULL`` value is not stored into the viewhelper variable container thus ``default`` is not evaluated in this case.