JSON serial out, fix for millis rollover

JSON is no used for the serial output to make it easier to parse.
Additionally, if a millis() rollover occurs (once every 50 days), it is
handled in a rusimentary way by resetting the lastStateChangeMillis
global variable.