Moved the check for output is None to the typecheck of output,
such that the ResponseForm with the selction on synchronous 
or asynchronous call will always be generated. This is under
the assumption that output=None means every output without
explicitly naming it.