i'm getting started with rxjs in angular2. many of the examples i've seen use simple objects when mapping an http response to an observable.
this.http.get('/app/shared/data/raw-tasks.json')
.map(response => response.json())
.map(stream => stream.map(res => new TaskModel(res.name, res.deadline, res.timeRequired)))
but how do i map a more complicated response like nested objects and nested arrays?