Refactored method probeStreams like refactoring in pull #23

I changed the options that gives to binary for getting information about streams in JSON.
Other code changes are same as code changes in pull #23.