fixed issue where object properties where ignored by serialize