updated streaming API
Merge branch 'master' of https://github.com/yogthos/json-to-pdf