title: OData Expand fails on Client Win8.1 universal app
body: <p>Just a quick question, is this not supported in a Win 8.1 universal class library? Or if it is, can anyone help with what i'm doing wrong.</p>
  
  <pre><code>http://jbsapplication.azurewebsites.net/Modules?$filter=Name%20eq%20'JBS%20Electronic%20forms'&amp;$expand=Menus
  </code></pre>
  
  <p>When I do this from the browser or Fiddler I receive the correct response.</p>
  
  <p>My code in the client view model class is as follows (using the OData Client v2 code generated objects)</p>
  
  <pre><code>var application = new UriBuilder(ServiceBaseAddress);
  var context = new Models.Application(application.Uri);
  
  var modulesQuery = context.Modules.Expand(m=&gt;m.Menus).Where(m =&gt; m.Name == ApplicationName);
  var modules = await ((DataServiceQuery&lt;Module&gt;) modulesQuery).ExecuteAsync();
  _currentModule = modules.FirstOrDefault();
  </code></pre>
  
  <p>The following exception is generated on the last line </p>
  
  <p>A first chance exception of type 'Microsoft.OData.Core.ODataException' occurred in Microsoft.OData.Core.DLL </p>
  
  <p>Additional information: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen. </p>
  
  <p>If I remove the Expand portion of the request, everything is fine, but I need to then perform another round trip to get the menus.</p>
  
  <p>A cut down reference for the Module class:</p>
  
  <pre><code>[Key("Id")]
  public class Module: BindableBase
  {
      public string Name
      {
          get { return _name; }
          set { SetProperty(ref _name, value); }
      }
  
      DataServiceCollection&lt;Menu&gt; _menus = new DataServiceCollection&lt;Menu&gt;(null,TrackingMode.AutoChangeTracking);
  
      public DataServiceCollection&lt;Menu&gt; Menus
      {
          get { return _menus; }
          set
          {
              _menus = value;
              OnPropertyChanged("Menus");
          }
      }
  }
  </code></pre>