added strictness check to object and array coercion