Better handling of nulls in response validation