Help with nested json parsing

Hi

I used https://mholt.github.io/json-to-go/ to generate this struct from your json

{"totalRecords":2,"instances":[{"serialNumber":"testSN1","parentSerialNumber":"anotherSN","minor":false,"instanceNumber":"8765345678","installedBaseStatus":"Latest-INSTALLED","endCustomer":{"id":"1","name":"test client","address":{"address1":"100 myStreet","city":"Albany","country":"US","state":"NY","postalCode":"12345"}},"serviceSKU":"testSKU1","serviceLevel":"SL1","serviceDescription":"testdesc1","startDate":"2018-04-09T00:00:00Z","endDate":"2019-04-08T00:00:00Z","product":{"number":"productNumber1","description":"test product desc","family":"fam1","group":"group1","location":"80616","name":"test product name"}}]}


type AutoGenerated struct {
	TotalRecords int `json:"totalRecords"`
	Instances    []struct {
		SerialNumber        string `json:"serialNumber"`
		ParentSerialNumber  string `json:"parentSerialNumber"`
		Minor               bool   `json:"minor"`
		InstanceNumber      string `json:"instanceNumber"`
		InstalledBaseStatus string `json:"installedBaseStatus"`
		EndCustomer         struct {
			ID      string `json:"id"`
			Name    string `json:"name"`
			Address struct {
				Address1   string `json:"address1"`
				City       string `json:"city"`
				Country    string `json:"country"`
				State      string `json:"state"`
				PostalCode string `json:"postalCode"`
			} `json:"address"`
		} `json:"endCustomer"`
		ServiceSKU         string    `json:"serviceSKU"`
		ServiceLevel       string    `json:"serviceLevel"`
		ServiceDescription string    `json:"serviceDescription"`
		StartDate          time.Time `json:"startDate"`
		EndDate            time.Time `json:"endDate"`
		Product            struct {
			Number      string `json:"number"`
			Description string `json:"description"`
			Family      string `json:"family"`
			Group       string `json:"group"`
			Location    string `json:"location"`
			Name        string `json:"name"`
		} `json:"product"`
	} `json:"instances"`
}