Recursively extend the object in a stream