title: Laravel dispatch plain json on queue
body: <p>I have 2 simple questions overall. Im currently looking into some event handling in Laravel and would like to use RabbitMQ as my event store. Therefor i installed this package to start with: <a href="https://github.com/php-enqueue/enqueue-dev" rel="nofollow noreferrer">https://github.com/php-enqueue/enqueue-dev</a></p>
  
  <p>To get started i registered it and i am able to push messages on to RabbitMQ:</p>
  
  <pre><code>$job = (new Sendemail())-&gt;onQueue('email')-&gt;onConnection('interop');
  dispatch($job);
  </code></pre>
  
  <p>The problem however is that Laravel pushes a certain format on the queue and i can't figure out how to change that. An example message would be:</p>
  
  <pre><code>{
      "job":"Illuminate\\\\Queue\\\\CallQueuedHandler@call",
      "data":{
          "command":"O:29:\\"Acme\\Jobs\\FooJob\\":4:{s:11:\\"fooBar\\";s:7:\\"abc-123\\";s:5:\\"queue\\";N;s:5:\\"delay\\";N;s:6:\\"\\u0000*\\u0000job\\";N;}"
      }
  }
  </code></pre>
  
  <p>So the question is, how can i change this? The main reason on this is that the consumer side is not even a PHP application which also can not interpret the PHP serialized model. Therefor im looking for a way to push a plain JSON object instead.</p>
  
  <p>From the other hand i would also like to understand how you could build a custom listener? For the listener the same thing happens. Laravel tries to read the method but when i push plain JSON this will never work. Isn't there a way to register a handler on a topic and do further handling of the payload of the message within the handler itself?</p>