title: JSON structured data description shows html tags
body: <p>On our site we use JSON to display our structured data. One of the fields (reviewBody) returns the text within p tags. I would like to remove the opening and closing tags.</p>
  
  <p>Who can help me out stripping the tags?</p>
  
  <pre><code>&lt;script type="application/ld+json"&gt;
  {
      "@context": "http://schema.org",
      "@type": "Review",
      "image": "&lt;?php echo get_the_post_thumbnail_url(); ?&gt;",
      "reviewBody": &lt;?=json_encode(apply_filters('the_content', $tw_entry-&gt;review_summary)); ?&gt;,
      "description": "&lt;?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ?&gt;",
      "datePublished": "&lt;?php echo get_the_date('Y-m-d'); ?&gt;",
      "itemReviewed": {
          "@type": "Thing",
          "name": "&lt;?php the_title(); ?&gt;"
      },
      "author": {
          "@type": "Person",
          "name": "mr x"
      },
      "reviewRating": {
          "@type": "Rating",
          "bestRating": "10",
          "ratingValue": "&lt;?php echo get_post_meta($post-&gt;ID, 'average-rating', true)/10; ?&gt;",
          "worstRating": "1"
      } 
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>results in:</p>
  
  <pre><code>"reviewBody": &lt;p&gt;lorem ipsum&lt;/p&gt;
  </code></pre>