Add tests for falsy json values
Fix bug: falsy JSON produces response body {}
This commit fixes the bug causing JSON responses with value , , , or  to produce an empty object  response body.