Modules

convert stream to hashref, and hashref to stream