introduce pluggable type converter