Add all entries from the given Map to the JSON.
the added Member which may be configured further
the map type
the key type
the value type
a function to extract the map