title: .map is not a function in Angular 2 importing map operator doesn't work
body: <p>Here is my code, I can't figure out why this is saying .map not a function. This is a generic method. </p>
  
  <pre><code>  public findTeamRoles(id: any, userId: any): Observable&lt;any&gt; {
  let _method: string = "GET";
  let _url: string = LoopBackConfig.getPath() + "/" + LoopBackConfig.getApiVersion() +
  "/Programs/:id/findTeamRoles";
  let _routeParams: any = {
    id: id
  };
  let _postBody: any = {};
  let _urlParams: any = {};
  if (userId) _urlParams.userId = userId;
  let result = this.request(_method, _url, _routeParams, _urlParams, _postBody);
  return result.map((instances: Array&lt;Program&gt;) =&gt;
      instances.map((instance: Program) =&gt; new Program(instance))
  );
  }
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code> core.es5.js:1084 ERROR TypeError: instances.map is not a function
  </code></pre>