<commit_before>mini.Module(
	"assets/converter/tojson/maptojsonconverter"
)
.requires(
	"assets/converter/tojson/worldtojsonconverter",
	"engine/map/map"
)
.defines(function(WorldToJsonConverter, Map) {
	var MapToJsonConverter = {};
	MapToJsonConverter.mapToJson = function(map) {
		var resultJson = {
			"spawnPoints": {
				"default": {"x": 0, "y": 0}
			},
			"layers": []
		};

		for(var index in map.layers) {
			if(!map.layers.hasOwnProperty(index)) continue;<commit_msg>convert map name to json<commit_after>mini.Module(
	"assets/converter/tojson/maptojsonconverter"
)
.requires(
	"assets/converter/tojson/worldtojsonconverter",
	"engine/map/map"
)
.defines(function(WorldToJsonConverter, Map) {
	var MapToJsonConverter = {};
	MapToJsonConverter.mapToJson = function(map) {
		var resultJson = {
			"name": map.mapName,
			"spawnPoints": {
				"default": {"x": 0, "y": 0}
			},
			"layers": []
		};

		// Convert Layers to json.
		for(var index in map.layers) {
			if(!map.layers.hasOwnProperty(index)) continue;
{'fraction_non_alphanumeric': 0.16110019646365423, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 4.508108108108108, 'pattern_counts': {'":': 11, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '408534', 'n_tokens_mistral': 409, 'n_tokens_neox': 368, 'n_words': 61}