Convert values to/from raw vectors
