setup type converter for assert factory