cleanup, use ldjson-stream, passing tests + coverage