memo as $key => $value) { if ($key === 'data') continue; if (is_array($value)) { $response->memo[$key] = static::reindexArrayWithNumericKeysOtherwiseJavaScriptWillMessWithTheOrder($value); } } } }