Uniform JSON interface for stream aggregates.
Kalman filter tested like prediction example.