Small corrections in CADL serialiser to properly deal with tuples.