added Map.WriteTo(io.Writer)