Have you tried with json.dumps?
In the lasted version somehow the endpoint
PUT /conversations/(str: sender_id)/tracker
was moved to
PUT /conversations/(str: sender_id)/tracker/events
.
This change is not documented, I figured it out myself.
@derdanielb would you mind submitting a PR to the HTTP API docs to update that?