saveBARTModelToJson function

Convert BART Model to JSON