title: How to convert a Mono<Map<String, Optional<String>>> to a Flux<Tuple<String, Optional<String>>>
body: <p>I'm using WebFlux with Reactor and creating a rest service that aggregates and transforms results from an internal service call using WebFlux webclient.</p>
  <p>The client returns a <code>Mono&lt;Map&lt;String, Optional&lt;String&gt;&gt;&gt;</code>
  which I want to disassemble in a Flux with key, value elements so that I can combine it later on.</p>
  <p>I was thinking of converting the client response of type</p>
  <p><code>Mono&lt;Map&lt;String, Optional&lt;String&gt;&gt;&gt;</code> to a</p>
  <p><code>Flux&lt;Tuple&lt;String, String&gt;&gt;</code></p>
  <p>I know you can convert a <code>Mono&lt;List&lt;String&gt;&gt;</code> to a  <code>Flux&lt;String&gt;</code> using <code>responseMono.flatMapMany(Flux::fromIterable)</code></p>
  <p>but I couldn't find a way to handle Maps.</p>