Add implementation for ws_value_named_value type

Targets #73
_please_ do an early return here. And merge the `if`s.