Add domain name groups according to Mozilla's effective tld name list, to avoid some second level domain grouping issues with for example .co.uk.
Script to take elements from a JSON array
Mangle properties instead of building a new object
Link to RFCs for content/mime-types