fix bug with putRow, add thrift to package.json