Updated type converter to support openmrs 1.10.