JAVA-347: support User Defined Types in mapper