Add QueryOptionsSerializer.
Implement serializing options in QuerySerializer.