title: Get min and max of nested JSON object
body: <p>I have a nested json object which looks like---</p>
  
  <pre><code>      [
        {"key":"AXCG","values":[
          {"interval":'1_to_2years',"value":34},
          {"interval":'3_to_4years',"value":12},
          {"interval":'5_to_6years',"value":45},
        ]},
        {"key":"BDGT","values":[
          {"interval":'1_to_2years',"value":194},
          {"interval":'3_to_4years',"value":12},
          {"interval":'5_to_6years',"value":45},
        ]},
  {"key":"YTEF","values":[
          {"interval":'1_to_2years',"value":0},
          {"interval":'3_to_4years',"value":12},
          {"interval":'5_to_6years',"value":15},
        ]}]
  </code></pre>
  
  <p>I want to find the min and max among the value. Like in this case it would be min 0 and 194 maximum. How should I do it?</p>