Add tests to verify we don't accidentally overflow
Improving aggregation with folds
Move json loader
Add more folds, refactor and simplify the code
Add folds