Added an use case to unserialize function, in order to correctly handle checkboxes and radio buttons.