title: Not able to getting array by parsing its showing as string format in Swift 3.2
body: <p>I am doing parsing for my server response in Swift 3.2 version. And I am little new to Swift.</p>
  
  <p>The response is from server</p>
  
  <pre><code>response object:{
      data =     (
                  {
              "day_time" = "04/12/2017";
              series =             (
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  0,
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1"
              );
          },
                  {
              "day_time" = "05/12/2017";
              series =             (
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1",
                  "0.1"
              );
          },            
  
      );
      msg = "user found";
  }
  </code></pre>
  
  <p>So, here I have to fetch all <code>"day_time" and "series"</code> values. Because, my requirement is user will provide particular date, if that date is matches with <code>"day_time" key data</code>, then I have to get  <code>"series"</code> data for that index.</p>
  
  <p>So, I have done parsing like this</p>
  
  <pre><code>    if responseDictionary.count &gt; 0 {
                      let obj  =  responseDictionary.value(forKey:"data") as! NSArray
                      for i in 0 ..&lt; obj.count  {
                          let timeStamp = obj.object(at: i) as! NSDictionary
                          print("timeStamp object:\(timeStamp)")
                          if (timeStamp.value(forKey: "day_time") != nil) {
                                  self.ActionsDBDictionary["series"] = (timeStamp.value(forKey: "series")!)
                                  self.ActionsDBDictionary["day_time"] = timeStamp.value(forKey: "day_time")! as! String
                                  self.ActionsDBArray.append(self.ActionsDBDictionary)
  
                          }
                      }
                    }
  </code></pre>
  
  <p>So, while validating user input data matches or not, doing following</p>
  
  <pre><code>for peopleDict in ActionsDBArray {
                      if let dict = peopleDict as? [String: Any], let dayTimeArray = dict["day_time"] as? String {
                          datesFromDBArray.append(dayTimeArray)
                      }
                      if let dict = peopleDict as? [String: Any], let ActionArray = dict["series"] as? [Any] {
                          ActionsDBDataArray.append(ActionArray)
                      }
                  }
                  var seriesArray = [String]()
  
              let str =  selectedDate.components(separatedBy: "/").first
              for(index , value) in datesFromDBArray.enumerated() {
                  if str == value.components(separatedBy: "/").first! {
                      seriesArray.append("\(ActionsDBDataArray[index])")
                  }
                }
                  print("seriesArray \(seriesArray)")
                  for eachElement in seriesArray {
                      totalFilterActionArray.append(eachElement)
                  }
  
  (lldb) po totalFilterActionArray
  ▿ 1 element
    - 0 : "[0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.1, 0.1, 0.1, 0.1]"
  </code></pre>
  
  <p>Its coming as String instead of Array. How can I fix this? Any suggestions.</p>