title: MongoDB insert UUID only using middleware?
body: <p>i dont know how to insert UUID into MongoDB properly.<br>
  For example:  </p>
  
  <pre><code>db.users.insert({ uuid: UUID(buffer) })
  </code></pre>
  
  <p>Buffer must be 32 hex string and MongoDB natively dont create UUID, only stores this? I'm right? But where i create the random UUID, e.g through Node.js middleware i have a random UUID <strong>11986aba-7c5a-4626-b354-80be23c25516</strong>, so its a 36 length string and now i cant place it into <code>UUID(buffer)</code>. What i should doing with this UUID generated from node.js uuid module? And how later read this inserted values from MongoDB as a normal uuid string?</p>