Convert Joise module chains to and from TML.