title: laravel uuid not showing in query
body: <p>I've a postgres database table that uses uuid's as its primary key, via the <strong>webpatser/laravel-uuid</strong> package, and 'readable' web ids via <strong>vinkla/hashids</strong>.</p>
  
  <p>When I query the database, if I <strong>dd()</strong> the response, I see the UUID in full, but if I simply <strong>return</strong>, I instead get an integer.</p>
  
  <p>Presume I've overlooking something obvious, so:</p>
  
  <p><strong>Migration</strong></p>
  
  <pre><code>$table-&gt;uuid('id');
  $table-&gt;string('web_id');
  
  $table-&gt;primary('id');
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code>public function store()
  {
      $data = [
          'id' =&gt; Uuid::generate(4)-&gt;string,
          'web_id' =&gt; Hashids::encode(mt_rand(1,1000000)),
  </code></pre>
  
  <p>I'm assuming something happens when the data is cast to json, but I'm not sure where'd I'd begin to tackle this...</p>
  
  <p>I also see the same behaviour in artisan tinker, fwiw:</p>
  
  <pre><code> &gt;&gt;&gt; $result = App\Model::firstOrFail() 
   =&gt; App\Model {#675
       id: "587bb487-881d-417e-8960-fbecaa3b270b",
       web_id: "Mxqv4LYP",
       created_at: "2016-01-25 15:52:25+00",
       updated_at: "2016-01-25 15:52:25+00",
      }
  
   &gt;&gt;&gt; $result-&gt;id
   =&gt; 587
  </code></pre>