Add support for empty responses to JSONResponseSerializer

Also add `--compressed` flag to `curl` output.