Fix sending payload as a string