Add serde support for CTAS