move serializer into validatable