title: TrialPay sending malformed JSON on callback
body: <p>I am attempting to implement TrialPay/Offerwall/Dealspot on a Facebook app. In their <a href="http://help.trialpay.com/credits/?p=545" rel="nofollow">documentation</a> they give an example of what the JSON looks like that they send you:</p>
  
  <pre><code>{"order_id":9006316682257,"buyer":409697,"app":107032282669135,"receiver":409697,
  "amount":1,"time_placed":1322622026,"update_time":1322622027,"data":"",
  "items":[{"item_id":"0","title":"3 Fred Currency","description":"Make it rain!",
  "image_url":"http:\/\/external.ak.fbcdn.net\/safe_image.php?d=AQDldsPcWsejAJdC&amp;url=http\u00253A\u00252F\u00252Fwww.etftrends.com\u00252Fwp-content\u00252Fuploads\u00252F2011\u00252F10\u00252Fcurrency-trading.jpg",
  "product_url":"","price":1,"data":"{\"modified\":{\"product\":\"URL_TO_APP_CURR_WEBPAGE\",
  \"product_title\":\"Fred Currency\",\"product_amount\":3,\"credits_amount\":1}}"}],"status":"placed"}
  </code></pre>
  
  <p>They say if you json_decode it as an array you should get this:</p>
  
  <pre><code>Array (
    [order_id] =&gt; 9006316682257
    [buyer] =&gt; 409697
    [app] =&gt; 107032282669135
    [receiver] =&gt; 409697
    [amount] =&gt; 1
    [time_placed] =&gt; 1322622026
    [update_time] =&gt; 1322622027
    [data] =&gt;
    [items] =&gt; Array (
                 [0] =&gt; Array (
                          [item_id] =&gt; 0
                          [title] =&gt; 3 Fred Currency
                          [description] =&gt; Make it rain!
                          [image_url] =&gt; http://external.ak.fbcdn.net/safe_image.php?d=AQDldsPcWsejAJdC&amp;url=http%3A%2F%2Fwww.etftrends.com%2Fwp-content%2Fuploads%2F2011%2F10%2Fcurrency-trading.jpg
                          [product_url] =&gt;
                          [price] =&gt; 1
                          [data] =&gt; {"modified":{"product":"URL_TO_APP_CURR_WEBPAGE","product_title":"Fred Currency","product_amount":3,"credits_amount":1}}
                        )
               )
    [status] =&gt; placed
  )
  </code></pre>
  
  <p>It doesn't though, data actually looks like this:</p>
  
  <pre><code>[data] =&gt; "{"modified":{"product":"URL_TO_APP_CURR_WEBPAGE","product_title":"Fred Currency","product_amount":3,"credits_amount":1}}"
  </code></pre>
  
  <p>The JSON being inside the string is causing it to be invalid JSON. Is there is a straightforward way to remove those quotes?</p>