modify SaveItData func

SaveItData: keys of JSON object that matched the official page
add Close func

Close: close the serial port