webform_submission_insert $submission values I am writing a module where I need to grab the submission values of a webform

I am using the webform_submission_insert hook found here however when I print out the $submission array using this:

drupal_set_message('&lt;pre&gt;'.print_r($submission).'&lt;/pre&gt;', 'warning');


All I get is this:

&lt;pre&gt;1&lt;/pre&gt;


It appears to me this hook is not working correctly and is not populating the array. How can I get the submission values? 

I am using Webform version 7.x-4.0-alpha6. The webform I created has about 10 different input fields.
I was printing the array out incorrectly. Using this code to print works:

drupal_set_message(''. print_r($submission, TRUE) .'');