refactor ticket serializer