Added cURL back to fetch JSON