title: Extracting Values from JSON using lens-aeson
body: <p>I just read the tutorial at <a href="https://www.fpcomplete.com/user/tel/lens-aeson-traversals-prisms" rel="noreferrer">https://www.fpcomplete.com/user/tel/lens-aeson-traversals-prisms</a>, and I have successfully written a query into a json bytestring.  However, I am not getting the kind of result value I want.</p>
  
  <p>I'd like to do something along the lines of</p>
  
  <pre><code>if (j^? key "some key" == Just "Google") then ...
                                           else ...
  </code></pre>
  
  <p>But (j^? key "some key") has the type "Maybe Value".</p>
  
  <p>This must be a common enough pattern that I'd be surprised if there wasn't a utility function to turn a Value into a Text.  Any ideas?</p>