added definitions for glob-stream
added definition for JSONStream