I need to convert following:

```
Map<Long,Map<String,String>> mapOfMaps

```

to 

```
List<List<String>> listOflists

```

where keys of outer map (`mapOfMaps`) are redundant (for this operation). So basically , I can just use `mapOfMaps.values().stream()` to start with.

And for each map object e.g.:

> 
> {"apple":"1","orange":"2"}
> 
> 
> 

I need to convert it to a list : 

> 
> {"apple","1","orange","2"}
> 
> 
> 

What is the most efficient way to do this?

Complete example:

> 
> { 
>  "1L" : { "key1" : "value1" , "key2" : "value2" } ,
>  "2L" : { "key3" : "value3" , "key4" : "value4" } 
>  }
> 
> 
> 

Expected:

> 
> [[key1, value1, key2, value2], [key3, value3, key4, value4]]
> 
> 
>