Locations#index returns locations in json format