Return the correct data to the backend.