Fixes error when response contains key without value
Improves wording and adds assertion