Return null, when result value is null and a complex object is requested

• Complex objects include Streams, Writers, Blobs, etc.