Map serialization changed - now as array of arrays, code cleanup, char serialization added