Add QuerySerializer.