extracted commune and pollin station json generator from visualizer to API, made search slug based