implement a solr dataPump to read a stream and write a json stream