JSON chars buffering until end of JSON object.

Also fix a typo in an ifdef in Sensorino.cpp.