Separated serializers and deserializers