                                 journeyObject.ludMessages.append(ludMessage)
                             }
                         }
-                    
+                        
                         if let departure = rjourney["departure"] as? NSString {
                             journeyObject.departure = DateformatterManager.dateFormatManager2.dateFromString(departure as String)
                         }

    }
    
    // MARK: - Helpers
    func stringFromDate(date: NSDate) -> String {
        return self.formatter.stringFromDate(date)
    }
    func dateFromString(date: String) -> NSDate? {
        return self.formatter.dateFromString(date)!
    }
}

extension Dictionary {
    mutating func update(other:Dictionary) {
        for (key,value) in other {
            self.updateValue(value, forKey:key)
        }
    }
}

public class OV9292API:NSObject {
    
    public static let baseURL = "http://api.9292.nl/0.1/"
    
    public class func journeysForTransportationTypes(transportationTypes:Array<TransportationType>, from:Station, to: Station, departure:NSDate)  -> Array<Journey> {
        
        let obj = OV9292API.getJourney(transportationTypes, from: from, to: to, departure: departure)
        

        keys.update(firstkeys)
        
        
        let urlStr = OV9292API.baseURL.appendingFormat("journeys?\(OV9292API.paramterStringWithKeys(keys))")
        
        if let url = URL(string: urlStr) {
            
            return performRequest(url, POSTparameters: [:])
        }
        
        return [[String:AnyObject]]() as AnyObject?
    }
    
    open class func parseStation(_ stationjson:NSDictionary) -> Station {
        
        let station = Station()
        
