 
     return directory
   }
-  
+
   /**
    - Parameter name: The name of the key
    - Returns: A child dictionary for that key, otherwise it returns nil


  /**
   - Parameter name: The name of the property that you want to map
   - Returns: A mappable object array, otherwise it returns nil
   */
  func relations<T : Mappable>(name: String) -> [T]? {

    guard let key = name as? Key,
      value = self[key] as? JSONArray
      else { return nil }

    return value
  }
}
