added unserialize method to 'object' datatype

and implemented it in validateAndUpdateFromParams()