title: Codable: Expected to decode Array<Any> but found a dictionary instead
body: <p>I'm new to Codable and been playing around it today.</p>
  
  <p>My current JSON model look like this: </p>
  
  <pre><code>{
      "status": 200,
      "code": 200,
      "message": {
          "1dHZga0QV5ctO6yhHUhy": {
              "id": "23",
              "university_location": "Washington_DC",
              "docID": "1dHZga0QV5ctO6yhHUhy"
          },
          "0dbCMP7TrTEnpRbEleps": {
              "id": "22",
              "university_location": "Timber Trails, Nevada",
              "docID": "0dbCMP7TrTEnpRbEleps"
          }
      }
  }
  </code></pre>
  
  <p>However, Trying to decode this response with: </p>
  
  <pre><code>    struct USA: Codable
  {
      //String, URL, Bool and Date conform to Codable.
      var status: Int
      var code: Int
  
      // Message Data
      var message: Array&lt;String&gt;
  
  }
  </code></pre>
  
  <p>Gives out: </p>
  
  <blockquote>
    <p>Expected to decode Array but found a dictionary instead.</p>
  </blockquote>
  
  <p>Updating the <code>message</code> to <code>Dictionary&lt;String,String</code> produces: </p>
  
  <blockquote>
    <p>typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "message", intValue: nil), _JSONKey(stringValue: "1dHZga0QV5ctO6yhHUhy", intValue: nil)], debugDescription: "Expected to decode String but found a dictionary instead.", underlyingError: nil))</p>
  </blockquote>