Outputting JSON from Ruby

Last night I got the scraper to write an output.txt file which listed all the contents of words_by_selector. Today I want to make »