get json going to the API, but object 'properties' being iverwritten each time.