Add Json serializable snapshots to stats objects
Add testing http client