API returns locations in JSON format