Allow to select query type (JSON or www-encoded form).
Switch default to www-encoded.