Add implementation for ws_value_object_id to string

Related to #467
The buffer behind `res` is too small.