title: How to prevent Collection from outputting indexes to json?
body: <p>Code sample:</p>
  
  <pre><code>$x = collect(["a", "b", "c"]);
  $x-&gt;toJson(); // =&gt; ["a","b","c"]
  $x-&gt;reverse()-&gt;toJson(); // =&gt; {"2":"c","1":"b","0":"a"}
  </code></pre>
  
  <p>As you can see after I reverse the collection, json turns into an object with indexes as keys. How do I prevent that? How to output only values?</p>