Various fixes, sending text object as payload.