Using a json flatten to build results, rather than doing it manually
Adding flush interval to the stats
Merge pull request #1 from bnewtonius/feature-json-flatten

Feature json flatten