Include key in error message when value is null