When you load combotree in the form with only 'id' value, this 'id' value will display on the combotree since the 'text' value can not be retrieved yet. To display desired text value, you need to prepare the 'id' and 'text' values together and call 'setText' method to set 'text' value for combotree.
var data = jQuery.parseJSON(response);
$('#mainForm2').form('load', data);
$('#agent').combotree('setText', data.agentName); // the agentName field value need to be prepared