title: JSON response array dictionary swift3 alamofire SwiftyJSON
body: <p>I'm using Alamofire and SwiftyJSON in my project. I've got a  JSON response like the one below. I want to populate a tableview with sections with the following titles: "Students Male","Students Female","Leaders Male","Leaders Female" etc, with name and age in the row under the title.</p>
  
  <p>Here the leaders female is empty so that section should not be displayed</p>
  
  
  
  <pre><code>[
    {
      "students": {
        "male": [
          {
            "name": "rahul",
            "age": "11"
          },
          {
            "name": "raj",
            "age": "8"
          }
        ],
        "female": [
            "name": "neha",
            "age": "9"
        ]
      },
      "leaders": {
        "male": [
          {
            "name": "john",
            "age": "15"
          }
        ],
        "female": []
      },
      "manager": {
        "branchA": [],
        "branchB": []
      }
    }
  ]
  </code></pre>