Add super basic Serializer and Deserializer classes.

I'm not even sure if these are even considered serializers and deserializers, but I'm sticking with that naming for now.