Add script to convert PnL to json