Added map_agg aggregation function

This PR implements the ``map_agg`` function (#2014) to aggregate key/value pairs into a single map.
You don't need this test, this behavior is tested in a lot of other places and the test was only there to catch a bug we had once