Assert the key is object inspector is a `PrimitiveObjectInspector`