Minor changes, types to string, mapwriter

- Started implementation of the map writer class
- Implemented a lot of asString methods for all map types (using
WW-typed buffers)