Making Query json serializable
Adding tests for serializing a query to json
Fixed typos
Improve docblock formatting.
Merge pull request #4300 from cakephp/3.0-fix-query-json

3.0 fix query json