Laravel. The Response content must be a string or object implementing __toString(), "boolean" given
<p>This is my array.</p>

<pre><code>http://pastebin.com/eTrJ2PVB
</code></pre>

<p>When I return this array like this, I get an error.</p>

<pre><code>return \Response::json($response, 200, [], JSON_NUMERIC_CHECK);
</code></pre>

<p>However, when I remove JSON_NUMERIC_CHECK, I get the response; but the problem is I need numeric values. </p>

<p>What could be done to resolve this?</p>