Get json using CURL