Generate JSON from HTML using CSS selectors.