Added JSMN parsing of json strings over USB, and cleaned up loop() code.