Convert data to 3rd party API format.