finally discovered the easy way to send rpart to json