$searchValue = $data['data']['query'];

            $results = [];
            foreach ($processed as $object) {
                if (in_array($searchValue, (array) $object)) {
                    $results[] = $object;
                }
            }