title: Write UUID as text in cassandra with node.js
body: <p>I have a column in cassandra table user_id which is type text. I'm trying to pass generated uuid which is packed as string to be written in the table. When I do this I get an error:</p>
  
  <pre><code>Not a valid text value, expected String obtained uuid
  </code></pre>
  
  <p>I tried with using hints when I pass parameter:</p>
  
  <pre><code>{hint: 'String', value: data['userId']}
  </code></pre>
  
  <p>But I still get an error:</p>
  
  <pre><code>[TypeError: Not a valid text value, expected String obtained { hint: 'String',
    value: 'e738922c-2277-45fd-aa94-7f5e7a189084' }]
  </code></pre>
  
  <p>I'm using cassandra version: 2.2.4</p>
  
  <p>Any idea how to solve this problem?</p>