Handle numeric vals in body query.

Also introduce default offset, default rows and max rows.