How about moving this function to `riak_kv_wm_utils` and using it here and in `riak_kv_wm_props`. There may be other places that case statement makes an appearance as well.