Simplest way to return an array that is nested in multiple arrays
<p>I have a situation where I have data that sometimes can be nested in multiple array layers.</p>

<p>Some times the data can be nested like: </p>

<pre><code>[ [ 'green', 'blue', 'red' ] ]
</code></pre>

<p>Other times</p>

<pre><code>[[[ ['green', 'blue', 'red' ] ]]]
</code></pre>

<p>I want to extract the array and return it, what would be the most pythonic way of doing this?</p>
