Deserialized the GetRoutes string to TransportMode and Route types