static ArrayList<NoSchemaDocument> generateAddresses(int count) {
        ArrayList<NoSchemaDocument> addresses = new ArrayList<NoSchemaDocument>();
        for (int i=0;i<count;i++) {
            NoSchemaDocument address = new NoSchemaDocument();
            address.put("street","One Memorial Drive");
            if (i == 0) {
                address.put("city","Cambridge");
                address.put("state","MA");
                address.put("zip",randomZip());
            }
            if (i % 2 == 0) {
                address.put("city","Cambridge");
                address.put("state","MA");
            } else {
                address.put("zip",randomZip());
            }
            if ((i % 4 == 0) || (i % 3 == 0)) {
                address.put("country","USA");
            }
            addresses.add(address);
        }
        return addresses;
    }