         "last_name": "Wayne"
       ]
       ])
+
     if let marvelClubJSON = json.dictionary("school")?.array("clubs")?.dictionary(1) {
       let club = Club(marvelClubJSON)
-      
+
       let tony = club.people[0]
-      
+
       XCTAssertEqual(tony.firstName, "Tony")
       XCTAssertEqual(tony.lastName, "Stark")
-     
+
       let hulk = club.people[1]
-      
+
       XCTAssertEqual(hulk.firstName, "Bruce")
       XCTAssertEqual(hulk.lastName, "Banner")
     }

        ]
      ]
    ]
    
    XCTAssertEqual(json.path("school.clubs.0.detail.name"), "DC")
    XCTAssertEqual(json.path("school.clubs.0.detail.people.0.first_name"), "Clark")
    XCTAssertEqual(json.path("school.clubs.0.detail.people")!, [


struct Club {
  var people: [Person] = []

  init(_ map: JSONDictionary) {
    people <- map.dictionary("detail")?.relations("people")
  }
}

struct Person: Mappable {

  var firstName: String? = ""
  var lastName: String? = ""

  init(_ map: JSONDictionary) {
    firstName <- map.property("first_name")
    lastName  <- map.property("last_name")
