Fix HookUpdate to allow null Events/AddEvents/RemoveEvents and Config while serializing (to avoid empty lists)