Initial support to serialize snit::type