use json-array-stream instead of JSONStream.stringify
wooo simgr can handle non-image file types!