title: Nested Dictionary in swift
body: <p>I am having a hard time to achieve this kind of structure  for my dictionary, This is what i want to achieve:</p>
  
  <pre><code>{
    "document_requested": {
      "type": "endorsement"
    },
    "where_needed": "For employment",
    "copies": 3,
    "special_instructions": "Test instruction"
  }
  </code></pre>
  
  <p>This is what I have so far</p>
  
  <pre><code>var params = [String:AnyObject]()
  
          params["where_needed"] = requestParams["where_needed"]
          params["copies"] = requestParams["number_of_copies"]
          params["special_instructions"] = requestParams["special_instructions"]
  </code></pre>
  
  <p>My problem now is how can I add this part </p>
  
  <pre><code>"document_requested": {
          "type": "endorsement"
        }
  </code></pre>
  
  <p>in my params variable.</p>
  
  <p>Thank you very much</p>