Fixed bug while receiving empty response

- Empty responses were raising exceptions while trying to deserialize
them