simplified FieldValueTransformer algorithm
more advanced type matching in ClassCastingHelper