dump data into gps.json file