Fix API docs generation for map<> and flat_map<>

The JSon syntax for map<> and flat_map<> is not described properly in the generated docs. For both it is

{a => b, ...}

whereas for map<> it should be:

{a: b, ...}

and for flat_map<>:

[[a, b], ...]
Edited by timur