Rename `serializer` to `serialize`