add parameter to 'stream' a javascript object to the callback instead of waiting for the whole xml to be parsed