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

Also add some constraints to the q_name and method columns.