add support for exporting trip data to json