Add curl test
Dump json also
Return computed data points.