Add ws_object_deinit() for stack-allocated objects deinitialization

Closes #84