Add some ws_value type utils

This PR introduces some value type utilities.
typo: maps