changed to stream to have all of the json data