Code cleanup, minor bugfixes, json test
Changed stream type to match facet type ("term_list", no "_facet")
Updated readme