Allow null/empty responses from API.

Return empty body and status 204 for blank responses instead of a
JSON-ified empty string.