Fix query string problem in ajax method.

Recursively serialize query object.
Adjust sections.