anchor.diff:            "accounts" : {
                 "type" : Account,
                 "serializer" : serializeAWSAccount,
  -              "deserializer": {"query" : deserializeAWSAccount}
  +              "deserializer": {
  +                "query" : deserializeAWSAccount
  +              }
             }
         })
         ..urlRewriter.baseUrl = '$API_HOST'
  -      ..urlRewriter.suffix = '/'
         ..requestDefaults.withCredentials=true
         ..documentFormat = new JsonApiOrgFormat();
   }
  
positive.code: import 'package:hammock/hammock.dart';
  import 'package:angular/angular.dart';
  import 'dart:mirrors';
  
  import 'package:SecurityMonkey/model/network_whitelist_entry.dart';
  import 'package:SecurityMonkey/model/Account.dart';
  
negative.code: 
  class JsonApiOrgFormat extends JsonDocumentFormat {
    resourceToJson(Resource res) {
        print("Inside resourcetojson");
        //return {res.type.toString(): [res.content]};
        return res.content;
    }
  
    Resource jsonToResource(type, json) {
        print("Inside jsontoresource");
        return resource(type, json["id"], json);
    }
  
    List<Resource> jsonToManyResources(type, json) {
        if (json.containsKey('items')) {
            json[type] = json['items'];
        }
        return json[type].map((r) => resource(type, r["id"], r));
    }
  }