Tam tersini niye yapmıyorsun
  $context  =  array(
    "@context" => "https://schema.org",
    "@type" => "Product",
    "lowPrice" => "50",
  );
  $scheme = "<script type='application/ld+json'>\n";
  $scheme .= json_encode($context);
  $scheme .= "</script>\n";
  echo $context['lowPrice'];
  echo $scheme