Fix support for primitives in ValueWritableConverter