add type converter to winphone code gen