simple json server to report stats.