Read elements from one JSON file using CSS selectors and write them to individual JSON files