adding a few basic type serializations