allowed for variable charges in json mapgen