Add ws_value instance from name

This is a convenience function which is good for the
implementation of the JSON parser, as it reduces overhead in
other PRs.