Added default converter implementation for primitive types