change regions to json