I should have also mentioned I need it to be formatted into a normal variable, it'll be implemented like this: 
	 
 
<script>
  window.intercomSettings = {
    app_id: "app_id",
    phone: "<?php echo $verify_phone; ?>",
    name: "<?php echo $this->Html->_($contact->first_name, true) . ' ' . $this->Html->_($contact->last_name, true);?>",
    email: "<?php echo $verify_email; ?>", // Email address
    user_hash: "<?php echo $email_sig; ?>" // HMAC using SHA-256
  };
</script>