data serialization in stream process function
rename JS module names to addon-sdk convention