Use json type for the args column if json is available.

Also add some constraints to the q_name and method columns.
Merge pull request #136 from joevandyk/json

Use json type for the args column if json is available.