using curl and parseJSON