This call fills the buffer pointed to by buffer with all the key/value pairs of every map entity.
The string returned has a very similar format to that of the tail end of a GTKRadiant .map file before it is compiled to a bsp.
It is unlikely that a user would ever need to call this since it is handled already in g_spawn.c
This should only be done at GAME_INIT time.