Auto format data before sending