retrieving json data from a page via curl