Trying to fix issue 9: "JSON packet formatting - garbage at end #9".