Added ability to set xsi_type in from_dict()