Fix scoping of serializer path