convert allcities to json