Hi,
If you wish to print JSON, use echo to print JSON, e.g. echo $response, rather than var_dump.
Moreover, use if you require an array from JSON.
$responseData = json_decode($response, true);
echo "<pre>"; print_r($responseData);
i hope it will work for you.