Fix parameters and state in JACK export