Add ws_object_deinit() for stack-allocated objects deinitialization