Master transport bugs of json.dump and retries connection