Changed from saving siteIDs for each site to saving the JSON object for sites.