Support for responding with empty body by returning null from the API method

to change this default behaviour  you can set `Defaults::$emptyBodyForNullResponse` to false