gracefully handle empty response when parsing requests