Primitive types need to be change to wrapper in the call to ObjectConverters.convert(...).