add const keyword on serializer